[PATCH] net/core: Fix warning while make xmldocs caused by dev.c

Subsystems: networking [general], the rest

STALE4268d

2 messages, 2 authors, 2015-02-15 · open the first message on its own page

[PATCH] net/core: Fix warning while make xmldocs caused by dev.c

From: Masanari Iida <hidden>
Date: 2015-02-14 13:27:05

This patch fix following warning wile make xmldocs.

  Warning(.//net/core/dev.c:5345): No description found
  for parameter 'bonding_info'
  Warning(.//net/core/dev.c:5345): Excess function parameter
  'netdev_bonding_info' description in 'netdev_bonding_info_change'

This warning starts to appear after following patch was added
into Linus's tree during merger period.

commit 61bd3857ff2c7daf756d49b41e6277bbdaa8f789
net/core: Add event for a change in slave state

Signed-off-by: Masanari Iida <redacted>
---
 net/core/dev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/core/dev.c b/net/core/dev.c
index d030575..2e8fcb0 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -5335,7 +5335,7 @@ EXPORT_SYMBOL(netdev_upper_dev_unlink);
 /**
  * netdev_bonding_info_change - Dispatch event about slave change
  * @dev: device
- * @netdev_bonding_info: info to dispatch
+ * @bonding_info: info to dispatch
  *
  * Send NETDEV_BONDING_INFO to netdev notifiers with info.
  * The caller must hold the RTNL lock.
-- 
2.3.0

Re: [PATCH] net/core: Fix warning while make xmldocs caused by dev.c

From: David Miller <davem@davemloft.net>
Date: 2015-02-15 04:28:23

From: Masanari Iida <redacted>
Date: Sat, 14 Feb 2015 22:26:34 +0900
This patch fix following warning wile make xmldocs.

  Warning(.//net/core/dev.c:5345): No description found
  for parameter 'bonding_info'
  Warning(.//net/core/dev.c:5345): Excess function parameter
  'netdev_bonding_info' description in 'netdev_bonding_info_change'

This warning starts to appear after following patch was added
into Linus's tree during merger period.

commit 61bd3857ff2c7daf756d49b41e6277bbdaa8f789
net/core: Add event for a change in slave state

Signed-off-by: Masanari Iida <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help