net: sched: htb: fix htb_classify() kernel-doc
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 2 Jan 2023 07:17:37 +0000 (23:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Jan 2023 13:34:48 +0000 (13:34 +0000)
commit43d253781f6321c6a07a5fe4ee72103a679a5f6b
tree0d3b563b84b7ddcdf632b0308b7e211bde6c0621
parent819fcf4adfbd55e81c4325e11eccae16ccad4106
net: sched: htb: fix htb_classify() kernel-doc

Fix W=1 kernel-doc warning:

net/sched/sch_htb.c:214: warning: expecting prototype for htb_classify(). Prototype was for HTB_DIRECT() instead

by moving the HTB_DIRECT() macro above the function.
Add kernel-doc notation for function parameters as well.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Cc: Jiri Pirko <jiri@resnulli.us>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_htb.c