OSDN Git Service

net: dev: add a missing kernel-doc annotation
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 23 Jun 2020 07:08:58 +0000 (09:08 +0200)
committerJonathan Corbet <corbet@lwn.net>
Fri, 26 Jun 2020 16:00:20 +0000 (10:00 -0600)
The dev argument was not listed at kernel-doc markup:

./net/core/dev.c:7878: warning: Function parameter or member 'dev' not described in 'netdev_get_xmit_slave'

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/6e22325bb9bd4cc2249c3768b0e3ad75933445f8.1592895969.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
net/core/dev.c

index 6bc2388..972ce59 100644 (file)
@@ -7898,6 +7898,7 @@ EXPORT_SYMBOL(netdev_bonding_info_change);
 
 /**
  * netdev_get_xmit_slave - Get the xmit slave of master device
+ * @dev: device
  * @skb: The packet
  * @all_slaves: assume all the slaves are active
  *