[PATCH net-next] docs: mctp: Fix the struct net_device name

Subsystems: documentation, management component transport protocol (mctp), networking [general], the rest

COLD39d IN NET-NEXT

Queued in net-next as a07a9480298f on 2026-09-10.

3 messages, 3 authors, 2026-09-10 · open the first message on its own page

[PATCH net-next] docs: mctp: Fix the struct net_device name

From: Karl Mehltretter <hidden>
Date: 2026-09-05 09:51:21

struct netdevice does not exist; the type is struct net_device.

Use it.

Fixes: 6a2d98b18900 ("mctp: Add MCTP overview document")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <redacted>
---
 Documentation/networking/mctp.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/networking/mctp.rst b/Documentation/networking/mctp.rst
index c628cb5406d2..3bff00c11702 100644
--- a/Documentation/networking/mctp.rst
+++ b/Documentation/networking/mctp.rst
@@ -19,7 +19,7 @@ networks.
 
 An interface (or "link") is an instance of an MCTP physical transport binding
 (as defined by DSP0236, section 3.2.47), likely connected to a specific hardware
-device. This is represented as a ``struct netdevice``.
+device. This is represented as a ``struct net_device``.
 
 A network defines a unique address space for MCTP endpoints by endpoint-ID
 (described by DSP0236, section 3.2.31). A network has a user-visible identifier
-- 
2.53.0

Re: [PATCH net-next] docs: mctp: Fix the struct net_device name

From: Randy Dunlap <rdunlap@infradead.org>
Date: 2026-09-06 04:22:03


On 9/5/26 2:51 AM, Karl Mehltretter wrote:
struct netdevice does not exist; the type is struct net_device.

Use it.

Fixes: 6a2d98b18900 ("mctp: Add MCTP overview document")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <redacted>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.
quoted hunk
---
 Documentation/networking/mctp.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/networking/mctp.rst b/Documentation/networking/mctp.rst
index c628cb5406d2..3bff00c11702 100644
--- a/Documentation/networking/mctp.rst
+++ b/Documentation/networking/mctp.rst
@@ -19,7 +19,7 @@ networks.
 
 An interface (or "link") is an instance of an MCTP physical transport binding
 (as defined by DSP0236, section 3.2.47), likely connected to a specific hardware
-device. This is represented as a ``struct netdevice``.
+device. This is represented as a ``struct net_device``.
 
 A network defines a unique address space for MCTP endpoints by endpoint-ID
 (described by DSP0236, section 3.2.31). A network has a user-visible identifier
-- 
~Randy

Re: [PATCH net-next] docs: mctp: Fix the struct net_device name

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-09-10 01:11:10

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

On Sat,  5 Sep 2026 11:51:16 +0200 you wrote:
struct netdevice does not exist; the type is struct net_device.

Use it.

Fixes: 6a2d98b18900 ("mctp: Add MCTP overview document")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <redacted>

[...]
Here is the summary with links:
  - [net-next] docs: mctp: Fix the struct net_device name
    https://git.kernel.org/netdev/net-next/c/a07a9480298f

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help