Omokefe Emmanuel Onanaroghene <[email protected]> writes: > kernel-doc reports struct_group_tagged() members as excess because > the macro transformation rewrites it to an anonymous struct and drops their > member names. > > Keep the tag and member name when transforming struct_group_tagged(). The > nested members are then recorded as names such as fast.order; accept the > existing unqualified @order documentation tag during validation. > > Add a regression test based on struct page_pool_params. > > Reported-by: Randy Dunlap <[email protected]> > Link: > https://lore.kernel.org/all/[email protected]/ > Fixes: 2f07ddbd5793 ("docs: xforms_lists: better evaluate struct_group > macros") > Signed-off-by: Omokefe Emmanuel Onanaroghene <[email protected]> > --- > tools/lib/python/kdoc/kdoc_parser.py | 4 ++- > tools/lib/python/kdoc/xforms_lists.py | 2 +- > tools/unittests/test_kdoc_parser.py | 37 +++++++++++++++++++++++++++ > 3 files changed, 41 insertions(+), 2 deletions(-)
This seems perhaps a reasonable fix. Did you write this on your own, or was there an LLM involved? Thanks, jon
