From: Joe Damato <joe@dama.to>
To: TAKANO Mitsuhiro <takano32@gmail.com>
Cc: Jesper Dangaard Brouer <hawk@kernel.org>,
Ilias Apalodimas <ilias.apalodimas@linaro.org>,
netdev@vger.kernel.org, "David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] net: page_pool: Drop fast and slow from the params kernel-doc
Date: Wed, 25 Nov 2026 15:17:09 -0800 [thread overview]
Message-ID: <awdsddjX8STuJ4WR@devvm20253.cco0.facebook.com> (raw)
In-Reply-To: <20261125184640.2407270-1-takano32@gmail.com>
On Wed, Nov 25, 2026 at 06:46:40PM +0000, TAKANO Mitsuhiro wrote:
> struct page_pool_params groups its members with struct_group_tagged(),
> so fast and slow are group names, not members. kernel-doc does not
> expand the group, and reports both as excess:
>
> Warning: include/net/page_pool/types.h:105 Excess struct member 'fast'
> description in 'page_pool_params' (did you mean one of: 'flags',
> 'offset')
> Warning: include/net/page_pool/types.h:105 Excess struct member 'slow'
> description in 'page_pool_params'
>
> Each one is reported twice. Drop the two @-lines and say in the
> description which members are read on the hotpath, where a reader of
> the rendered page looks for it.
>
> Verification: kernel-doc -none include/net/page_pool/types.h prints the
> four warnings before the change and nothing after it.
>
> Signed-off-by: TAKANO Mitsuhiro <takano32@gmail.com>
> ---
> include/net/page_pool/types.h | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
Not sure I fully understand all the docs tooling. Would this [1] solve the
problem? If so, it seems like it might be better to wait for that to land ?
[1]: https://lore.kernel.org/all/20260916214357.22573-1-emmaonana18@gmail.com/
prev parent reply other threads:[~2026-11-25 23:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 18:46 [PATCH] net: page_pool: Drop fast and slow from the params kernel-doc TAKANO Mitsuhiro
2026-11-25 23:17 ` Joe Damato [this message]
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=awdsddjX8STuJ4WR@devvm20253.cco0.facebook.com \
--to=joe@dama.to \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=hawk@kernel.org \
--cc=ilias.apalodimas@linaro.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=takano32@gmail.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