diff options
author | Jonathan Corbet <corbet@lwn.net> | 2025-08-07 15:16:31 -0600 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2025-08-11 10:25:42 -0600 |
commit | 64cf83bcd3217a9583caeb404ff136366a46705c (patch) | |
tree | 1790094f9854a46d2a0226e230bba7bccf2c9e5e /scripts/lib/abi/system_symbols.py | |
parent | 5fd513f01169ae93d202b8c30f0837096664e7d7 (diff) |
docs: kdoc: move the prefix transforms out of dump_struct()
dump_struct is one of the longest functions in the kdoc_parser class,
making it hard to read and reason about. Move the definition of the prefix
transformations out of the function, join them with the definition of
"attribute" (which was defined at the top of the file but only used here),
and reformat the code slightly for shorter line widths.
Just code movement in the end.
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-5-corbet@lwn.net
Diffstat (limited to 'scripts/lib/abi/system_symbols.py')
0 files changed, 0 insertions, 0 deletions