summaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2021-06-05 18:18:34 +0800
committerDavid S. Miller <davem@davemloft.net>2021-06-07 12:28:40 -0700
commit274e5d0e55aa37f2bcee42f618b1923cab0ceabf (patch)
tree77a2bb172d99993ae64ab35bbce72dbaae306638 /net/sched
parent4d7efa73fa268bba3b309988dd2d4c3787a17ddf (diff)
downloadlinux-274e5d0e55aa37f2bcee42f618b1923cab0ceabf.tar.bz2
sch_htb: fix doc warning in htb_next_rb_node()
Add description for parameters of htb_next_rb_node() to fix gcc W=1 warnings: net/sched/sch_htb.c:339: warning: Function parameter or member 'n' not described in 'htb_next_rb_node' Signed-off-by: Yu Kuai <yukuai3@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
-rw-r--r--net/sched/sch_htb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c
index 4eeef342c3c6..5ad28df6b18c 100644
--- a/net/sched/sch_htb.c
+++ b/net/sched/sch_htb.c
@@ -337,6 +337,7 @@ static void htb_add_to_wait_tree(struct htb_sched *q,
/**
* htb_next_rb_node - finds next node in binary tree
+ * @n: the current node in binary tree
*
* When we are past last key we return NULL.
* Average complexity is 2 steps per call.