]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
docs: kdoc: consolidate the stripping of private struct/union members
authorJonathan Corbet <corbet@lwn.net>
Thu, 7 Aug 2025 21:16:28 +0000 (15:16 -0600)
committerJonathan Corbet <corbet@lwn.net>
Mon, 11 Aug 2025 16:25:42 +0000 (10:25 -0600)
commit6656ae4df1a6ad6dfb5c4ce4c76136a42abb9bf4
treed790ee26869e172936e6b9e1de7a3aaf1fce2cf0
parent35293ebbb65e0295d3b9357f786004ae1026d00f
docs: kdoc: consolidate the stripping of private struct/union members

There were two locations duplicating the logic of stripping private members
and associated comments; coalesce them into one, and add some comments
describing what's going on.

Output change: we now no longer add extraneous white space around macro
definitions.

Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20250807211639.47286-2-corbet@lwn.net
scripts/lib/kdoc/kdoc_parser.py