summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_htb.c
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2021-06-03 22:07:49 +0800
committerDavid S. Miller <davem@davemloft.net>2021-06-03 15:26:32 -0700
commita10541f5d9fa2aab5ff54311473b05ba75b84226 (patch)
tree6908332c207d4e9d5dd69e16c955ca1eaff5094c /net/sched/sch_htb.c
parent92e1b57c3865c508e0ecd9824b7a64256329b8fd (diff)
downloadlinux-stable-a10541f5d9fa2aab5ff54311473b05ba75b84226.tar.gz
linux-stable-a10541f5d9fa2aab5ff54311473b05ba75b84226.tar.bz2
linux-stable-a10541f5d9fa2aab5ff54311473b05ba75b84226.zip
sch_htb: fix doc warning in htb_add_to_id_tree()
Add description for parameters of htb_add_to_id_tree() to fix gcc W=1 warnings: net/sched/sch_htb.c:282: warning: Function parameter or member 'root' not described in 'htb_add_to_id_tree' net/sched/sch_htb.c:282: warning: Function parameter or member 'cl' not described in 'htb_add_to_id_tree' net/sched/sch_htb.c:282: warning: Function parameter or member 'prio' not described in 'htb_add_to_id_tree' Signed-off-by: Yu Kuai <yukuai3@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_htb.c')
-rw-r--r--net/sched/sch_htb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c
index 282614614905..4f9304567dcc 100644
--- a/net/sched/sch_htb.c
+++ b/net/sched/sch_htb.c
@@ -273,6 +273,9 @@ static struct htb_class *htb_classify(struct sk_buff *skb, struct Qdisc *sch,
/**
* htb_add_to_id_tree - adds class to the round robin list
+ * @root: the root of the tree
+ * @cl: the class to add
+ * @prio: the give prio in class
*
* Routine adds class to the list (actually tree) sorted by classid.
* Make sure that class is not already on such list for given prio.