]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
docs: kdoc: tighten up the array-of-pointers case
authorJonathan Corbet <corbet@lwn.net>
Thu, 14 Aug 2025 15:40:33 +0000 (09:40 -0600)
committerJonathan Corbet <corbet@lwn.net>
Mon, 18 Aug 2025 16:19:19 +0000 (10:19 -0600)
commitbf6b310d1b7e31a1cd6951eb75608a1d2876c04a
tree04f8751afd61d48a2fc7dcc2757c700f48c6d550
parent8f05fbc5afb86f0d4dcae33f3cb0cda561d4d93e
docs: kdoc: tighten up the array-of-pointers case

Simplify one gnarly regex and remove another altogether; add a comment
describing what is going on.  There will be no #-substituted commas in this
case, so don't bother trying to put them back.

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