From: Yu Kuai <yukuai3@huawei.com>
To: <jhs@mojatatu.com>, <xiyou.wangcong@gmail.com>,
<jiri@resnulli.us>, <davem@davemloft.net>, <kuba@kernel.org>
Cc: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<yukuai3@huawei.com>, <yi.zhang@huawei.com>
Subject: [PATCH 01/13] sch_htb: fix doc warning in htb_add_to_wait_tree()
Date: Sat, 5 Jun 2021 18:18:33 +0800 [thread overview]
Message-ID: <20210605101845.1264706-2-yukuai3@huawei.com> (raw)
In-Reply-To: <20210605101845.1264706-1-yukuai3@huawei.com>
Add description for parameters of htb_add_to_wait_tree() to fix
gcc W=1 warnings:
net/sched/sch_htb.c:308: warning: Function parameter or member 'q' not described in 'htb_add_to_wait_tree'
net/sched/sch_htb.c:308: warning: Function parameter or member 'cl' not described in 'htb_add_to_wait_tree'
net/sched/sch_htb.c:308: warning: Function parameter or member 'delay' not described in 'htb_add_to_wait_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 4f9304567dcc..4eeef342c3c6 100644
--- a/net/sched/sch_htb.c
+++ b/net/sched/sch_htb.c
@@ -301,6 +301,9 @@ static void htb_add_to_id_tree(struct rb_root *root,
/**
* htb_add_to_wait_tree - adds class to the event queue with delay
+ * @q: the priority event queue
+ * @cl: the class to add
+ * @delay: delay in microseconds
*
* The class is added to priority event queue to indicate that class will
* change its mode in cl->pq_key microseconds. Make sure that class is not
--
2.31.1
next prev parent reply other threads:[~2021-06-05 10:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-05 10:18 [PATCH 00/13] fix dox warning in net/sched/sch_htb.c Yu Kuai
2021-06-05 10:18 ` Yu Kuai [this message]
2021-06-05 10:18 ` [PATCH 02/13] sch_htb: fix doc warning in htb_next_rb_node() Yu Kuai
2021-06-05 10:18 ` [PATCH 03/13] sch_htb: fix doc warning in htb_add_class_to_row() Yu Kuai
2021-06-05 10:18 ` [PATCH 04/13] sch_htb: fix doc warning in htb_remove_class_from_row() Yu Kuai
2021-06-05 10:18 ` [PATCH 05/13] sch_htb: fix doc warning in htb_activate_prios() Yu Kuai
2021-06-05 10:18 ` [PATCH 06/13] sch_htb: fix doc warning in htb_deactivate_prios() Yu Kuai
2021-06-05 10:18 ` [PATCH 07/13] sch_htb: fix doc warning in htb_class_mode() Yu Kuai
2021-06-05 10:18 ` [PATCH 08/13] sch_htb: fix doc warning in htb_change_class_mode() Yu Kuai
2021-06-05 10:18 ` [PATCH 09/13] sch_htb: fix doc warning in htb_activate() Yu Kuai
2021-06-05 10:18 ` [PATCH 10/13] sch_htb: fix doc warning in htb_deactivate() Yu Kuai
2021-06-05 10:18 ` [PATCH 11/13] sch_htb: fix doc warning in htb_charge_class() Yu Kuai
2021-06-05 10:18 ` [PATCH 12/13] sch_htb: fix doc warning in htb_do_events() Yu Kuai
2021-06-05 10:18 ` [PATCH 13/13] sch_htb: fix doc warning in htb_lookup_leaf() Yu Kuai
2021-06-07 19:40 ` [PATCH 00/13] fix dox warning in net/sched/sch_htb.c patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210605101845.1264706-2-yukuai3@huawei.com \
--to=yukuai3@huawei.com \
--cc=davem@davemloft.net \
--cc=jhs@mojatatu.com \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=xiyou.wangcong@gmail.com \
--cc=yi.zhang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).