net/core: Fix warning while make xmldocs caused by dev.c
authorMasanari Iida <standby24x7@gmail.com>
Sat, 14 Feb 2015 13:26:34 +0000 (22:26 +0900)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Feb 2015 04:34:49 +0000 (20:34 -0800)
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 <standby24x7@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c

index 48c6ecb18f3c889115ff97ec1c045a9def459e42..8f9710c62e20d58bcdcec3d184ca6344fbe5a57c 100644 (file)
@@ -5336,7 +5336,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.