summaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2021-06-05 18:18:44 +0800
committerDavid S. Miller <davem@davemloft.net>2021-06-07 12:28:41 -0700
commit2c3ee53ea663a7aff97271278efb19d543e0fbe9 (patch)
tree2c95d58dacdfecee88ed1d58411345aa1f8f2a32 /net/sched
parent0e5c90848a28edc726c6badf6875790830c9428c (diff)
downloadlinux-2c3ee53ea663a7aff97271278efb19d543e0fbe9.tar.gz
linux-2c3ee53ea663a7aff97271278efb19d543e0fbe9.tar.bz2
linux-2c3ee53ea663a7aff97271278efb19d543e0fbe9.zip
sch_htb: fix doc warning in htb_do_events()
Add description for parameters of htb_do_events() to fix gcc W=1 warnings: net/sched/sch_htb.c:708: warning: Function parameter or member 'q' not described in 'htb_do_events' net/sched/sch_htb.c:708: warning: Function parameter or member 'level' not described in 'htb_do_events' net/sched/sch_htb.c:708: warning: Function parameter or member 'start' not described in 'htb_do_events' 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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c
index a6cd3f18ff87..66c330244b9d 100644
--- a/net/sched/sch_htb.c
+++ b/net/sched/sch_htb.c
@@ -728,6 +728,9 @@ static void htb_charge_class(struct htb_sched *q, struct htb_class *cl,
/**
* htb_do_events - make mode changes to classes at the level
+ * @q: the priority event queue
+ * @level: which wait_pq in 'q->hlevel'
+ * @start: start jiffies
*
* Scans event queue for pending events and applies them. Returns time of
* next pending event (0 for no event in pq, q->now for too many events).