]> git.baikalelectronics.ru Git - kernel.git/commit
sch_htb: fix doc warning in htb_lookup_leaf()
authorYu Kuai <yukuai3@huawei.com>
Sat, 5 Jun 2021 10:18:45 +0000 (18:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Jun 2021 19:28:41 +0000 (12:28 -0700)
commit2709597d3c721fe4e848f3692bba1ad5b9ea27c3
tree7aec0d734411ec2f9a88f06a52b99974b1423fcd
parent4e4e0acc41f1a63ce922408a63fcc499501d1eb8
sch_htb: fix doc warning in htb_lookup_leaf()

Add description for parameters of htb_lookup_leaf()
to fix gcc W=1 warnings:

net/sched/sch_htb.c:773: warning: Function parameter or member 'hprio' not described in 'htb_lookup_leaf'
net/sched/sch_htb.c:773: warning: Function parameter or member 'prio' not described in 'htb_lookup_leaf'

Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_htb.c