Re: [PATCH] net: page_pool: Drop fast and slow from the params kernel-doc

From: Joe Damato

Date: Wed Nov 25 2026 - 18:17:19 EST


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@xxxxxxxxx>
> ---
> 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@xxxxxxxxx/