All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sch_htb: fix doc warning in htb_add_to_id_tree()
@ 2021-06-03 14:07 Yu Kuai
  2021-06-03 22:30 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Yu Kuai @ 2021-06-03 14:07 UTC (permalink / raw)
  To: jhs, xiyou.wangcong, jiri, davem, kuba
  Cc: netdev, linux-kernel, yukuai3, yi.zhang

Add description for parameters of htb_add_to_id_tree() to fix
gcc W=1 warnings:
net/sched/sch_htb.c:282: warning: Function parameter or member 'root' not described in 'htb_add_to_id_tree'
net/sched/sch_htb.c:282: warning: Function parameter or member 'cl' not described in 'htb_add_to_id_tree'
net/sched/sch_htb.c:282: warning: Function parameter or member 'prio' not described in 'htb_add_to_id_tree'

Signed-off-by: Yu Kuai <yukuai3@huawei.com>
---
 net/sched/sch_htb.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c
index 282614614905..4f9304567dcc 100644
--- a/net/sched/sch_htb.c
+++ b/net/sched/sch_htb.c
@@ -273,6 +273,9 @@ static struct htb_class *htb_classify(struct sk_buff *skb, struct Qdisc *sch,
 
 /**
  * htb_add_to_id_tree - adds class to the round robin list
+ * @root: the root of the tree
+ * @cl: the class to add
+ * @prio: the give prio in class
  *
  * Routine adds class to the list (actually tree) sorted by classid.
  * Make sure that class is not already on such list for given prio.
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] sch_htb: fix doc warning in htb_add_to_id_tree()
  2021-06-03 14:07 [PATCH] sch_htb: fix doc warning in htb_add_to_id_tree() Yu Kuai
@ 2021-06-03 22:30 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-06-03 22:30 UTC (permalink / raw)
  To: Yu Kuai
  Cc: jhs, xiyou.wangcong, jiri, davem, kuba, netdev, linux-kernel, yi.zhang

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Thu, 3 Jun 2021 22:07:49 +0800 you wrote:
> Add description for parameters of htb_add_to_id_tree() to fix
> gcc W=1 warnings:
> net/sched/sch_htb.c:282: warning: Function parameter or member 'root' not described in 'htb_add_to_id_tree'
> net/sched/sch_htb.c:282: warning: Function parameter or member 'cl' not described in 'htb_add_to_id_tree'
> net/sched/sch_htb.c:282: warning: Function parameter or member 'prio' not described in 'htb_add_to_id_tree'
> 
> Signed-off-by: Yu Kuai <yukuai3@huawei.com>
> 
> [...]

Here is the summary with links:
  - sch_htb: fix doc warning in htb_add_to_id_tree()
    https://git.kernel.org/netdev/net-next/c/a10541f5d9fa

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-03 22:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-03 14:07 [PATCH] sch_htb: fix doc warning in htb_add_to_id_tree() Yu Kuai
2021-06-03 22:30 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.