[PATCH v2 0/7]

From: Jonathan Corbet
Date: Thu Aug 14 2025 - 11:47:27 EST


docs: kdoc: tidy up create_parameter_list() somewhat

A relatively brief series to straighten up the code in
create_parameter_list(), remove unneeded operations, and add a few
comments. No changes to the generated output.

Changes since v1:

- Put split regexes onto multiple lines for improved readability
- Simplify one overly complex regex
- Improve the patch 5 changelog

Mauro, I've added your tags from the first round - scream if that's not
what you wanted!

Jonathan Corbet (7):
docs: kdoc: remove dead code
docs: kdoc: tidy up space removal in create_parameter_list()
docs: kdoc: clean up the create_parameter_list() "first arg" logic
docs: kdoc: add a couple more comments in create_parameter_list()
docs: kdoc: tighten up the array-of-pointers case
docs: kdoc: tighten up the pointer-to-function case
docs: kdoc: remove redundant comment stripping

scripts/lib/kdoc/kdoc_parser.py | 100 +++++++++++++++-----------------
1 file changed, 46 insertions(+), 54 deletions(-)

--
2.50.1