Commit 2c3ee53e authored by Yu Kuai's avatar Yu Kuai Committed by David S. Miller

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: default avatarYu Kuai <yukuai3@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0e5c9084
...@@ -728,6 +728,9 @@ static void htb_charge_class(struct htb_sched *q, struct htb_class *cl, ...@@ -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 * 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 * 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). * next pending event (0 for no event in pq, q->now for too many events).
......
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