Skip to content

Commit 123b365

Browse files
edumazetdavem330
authored andcommitted
net: sched: fix missing doc annotations
"make htmldocs" complains otherwise: .//net/core/gen_stats.c:168: warning: No description found for parameter 'running' .//include/linux/netdevice.h:1867: warning: No description found for parameter 'qdisc_running_key' Fixes: f9eb8ae ("net_sched: transform qdisc running bit into a seqcount") Fixes: edb09eb ("net: sched: do not acquire qdisc spinlock in qdisc/class stats dump") Signed-off-by: Eric Dumazet <[email protected]> Reported-by: kbuild test robot <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 40e4e71 commit 123b365

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

include/linux/netdevice.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1594,7 +1594,8 @@ enum netdev_priv_flags {
15941594
* @phydev: Physical device may attach itself
15951595
* for hardware timestamping
15961596
*
1597-
* @qdisc_tx_busylock: XXX: need comments on this one
1597+
* @qdisc_tx_busylock: lockdep class annotating Qdisc->busylock spinlock
1598+
* @qdisc_running_key: lockdep class annotating Qdisc->running seqcount
15981599
*
15991600
* @proto_down: protocol port state information can be sent to the
16001601
* switch driver and used to set the phys state of the

net/core/gen_stats.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ EXPORT_SYMBOL(__gnet_stats_copy_basic);
150150

151151
/**
152152
* gnet_stats_copy_basic - copy basic statistics into statistic TLV
153+
* @running: seqcount_t pointer
153154
* @d: dumping handle
154155
* @cpu: copy statistic per cpu
155156
* @b: basic statistics

0 commit comments

Comments
 (0)