diff options
author | Yu Kuai <yukuai3@huawei.com> | 2021-06-05 18:18:41 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-07 12:28:41 -0700 |
commit | 8df7e8fff8da0feb3d7d686f7992e323f0cc464a (patch) | |
tree | a123543c7dbdfdfd98fa18c7df012b4ca98c16e1 /net/sched | |
parent | 4b479e9883ce4d99ffd4eeffc61b6ef70e06ee4f (diff) | |
download | linux-stable-8df7e8fff8da0feb3d7d686f7992e323f0cc464a.tar.gz linux-stable-8df7e8fff8da0feb3d7d686f7992e323f0cc464a.tar.bz2 linux-stable-8df7e8fff8da0feb3d7d686f7992e323f0cc464a.zip |
sch_htb: fix doc warning in htb_activate()
Add description for parameters of htb_activate()
to fix gcc W=1 warnings:
net/sched/sch_htb.c:562: warning: Function parameter or member 'q' not described in 'htb_activate'
net/sched/sch_htb.c:562: warning: Function parameter or member 'cl' not described in 'htb_activate'
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c index 875ef6cd2ce0..1ee47de6f72c 100644 --- a/net/sched/sch_htb.c +++ b/net/sched/sch_htb.c @@ -575,6 +575,8 @@ htb_change_class_mode(struct htb_sched *q, struct htb_class *cl, s64 *diff) /** * htb_activate - inserts leaf cl into appropriate active feeds + * @q: the priority event queue + * @cl: the target class * * Routine learns (new) priority of leaf and activates feed chain * for the prio. It can be called on already active leaf safely. |