Re: [PATCH v2 0/7] Further kernel-doc tweakery
From: Akira Yokosawa
Date: Thu Jul 03 2025 - 20:45:48 EST
On Thu, 3 Jul 2025 12:43:56 -0600, Jonathan Corbet wrote:
> This is a set of miscellaneous improvements, finishing my pass over the
> first parsing pass and getting into the second ("dump_*") pass.
>
> Changes from v1:
> - Apply tags
> - Rework the KernRe microoptimization to avoid exceptions
> - Fix the stupid white-space error in patch 7
Tested-by: Akira Yokosawa <akiyks@xxxxxxxxx>
Thanks!
>
> Jonathan Corbet (7):
> docs: kdoc: don't reinvent string.strip()
> docs: kdoc: micro-optimize KernRe
> docs: kdoc: remove the brcount floor in process_proto_type()
> docs: kdoc: rework type prototype parsing
> docs: kdoc: some tweaks to process_proto_function()
> docs: kdoc: Remove a Python 2 comment
> docs: kdoc: pretty up dump_enum()
>
> Documentation/sphinx/kerneldoc.py | 2 -
> scripts/lib/kdoc/kdoc_parser.py | 150 +++++++++++++++---------------
> scripts/lib/kdoc/kdoc_re.py | 7 +-
> 3 files changed, 79 insertions(+), 80 deletions(-)
>