Commit 123b3652 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

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: f9eb8aea ("net_sched: transform qdisc running bit into a seqcount")
Fixes: edb09eb1 ("net: sched: do not acquire qdisc spinlock in qdisc/class stats dump")
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 40e4e713
...@@ -1594,7 +1594,8 @@ enum netdev_priv_flags { ...@@ -1594,7 +1594,8 @@ enum netdev_priv_flags {
* @phydev: Physical device may attach itself * @phydev: Physical device may attach itself
* for hardware timestamping * for hardware timestamping
* *
* @qdisc_tx_busylock: XXX: need comments on this one * @qdisc_tx_busylock: lockdep class annotating Qdisc->busylock spinlock
* @qdisc_running_key: lockdep class annotating Qdisc->running seqcount
* *
* @proto_down: protocol port state information can be sent to the * @proto_down: protocol port state information can be sent to the
* switch driver and used to set the phys state of the * switch driver and used to set the phys state of the
......
...@@ -150,6 +150,7 @@ EXPORT_SYMBOL(__gnet_stats_copy_basic); ...@@ -150,6 +150,7 @@ EXPORT_SYMBOL(__gnet_stats_copy_basic);
/** /**
* gnet_stats_copy_basic - copy basic statistics into statistic TLV * gnet_stats_copy_basic - copy basic statistics into statistic TLV
* @running: seqcount_t pointer
* @d: dumping handle * @d: dumping handle
* @cpu: copy statistic per cpu * @cpu: copy statistic per cpu
* @b: basic statistics * @b: basic statistics
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment