diff mbox series

[net-next,v2,1/2] net: wwan: Add unknown port type

Message ID 1620744143-26075-1-git-send-email-loic.poulain@linaro.org (mailing list archive)
State Accepted
Commit bf30396cdf8132a199af5f8f0e60367876f455df
Delegated to: Netdev Maintainers
Headers show
Series [net-next,v2,1/2] net: wwan: Add unknown port type | expand

Checks

Context Check Description
netdev/cover_letter success Link
netdev/fixes_present success Link
netdev/patch_count success Link
netdev/tree_selection success Clearly marked for net-next
netdev/subject_prefix success Link
netdev/cc_maintainers success CCed 2 of 2 maintainers
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/verify_fixes success Link
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 16 lines checked
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/header_inline success Link

Commit Message

Loic Poulain May 11, 2021, 2:42 p.m. UTC
Some devices may have ports with unknown type/protocol which need to
be tagged (though not supported by WWAN core). This will be the case
for cdc-wdm based drivers.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
---
 v2: Replace CDC specific port types change with that change

 include/linux/wwan.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

patchwork-bot+netdevbpf@kernel.org May 11, 2021, 11:33 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Tue, 11 May 2021 16:42:22 +0200 you wrote:
> Some devices may have ports with unknown type/protocol which need to
> be tagged (though not supported by WWAN core). This will be the case
> for cdc-wdm based drivers.
> 
> Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
> ---
>  v2: Replace CDC specific port types change with that change
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/2] net: wwan: Add unknown port type
    https://git.kernel.org/netdev/net-next/c/bf30396cdf81
  - [net-next,v2,2/2] usb: class: cdc-wdm: WWAN framework integration
    https://git.kernel.org/netdev/net-next/c/cac6fb015f71

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

diff --git a/include/linux/wwan.h b/include/linux/wwan.h
index aa05a25..7216c11 100644
--- a/include/linux/wwan.h
+++ b/include/linux/wwan.h
@@ -15,6 +15,7 @@ 
  * @WWAN_PORT_QMI: Qcom modem/MSM interface for modem control
  * @WWAN_PORT_QCDM: Qcom Modem diagnostic interface
  * @WWAN_PORT_FIREHOSE: XML based command protocol
+ * @WWAN_PORT_UNKNOWN: Unknown port type
  * @WWAN_PORT_MAX: Number of supported port types
  */
 enum wwan_port_type {
@@ -23,7 +24,8 @@  enum wwan_port_type {
 	WWAN_PORT_QMI,
 	WWAN_PORT_QCDM,
 	WWAN_PORT_FIREHOSE,
-	WWAN_PORT_MAX,
+	WWAN_PORT_UNKNOWN,
+	WWAN_PORT_MAX = WWAN_PORT_UNKNOWN,
 };
 
 struct wwan_port;