]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
docs: kdoc: Simplify the dump_function() prototype regexes
authorJonathan Corbet <corbet@lwn.net>
Mon, 8 Sep 2025 19:22:42 +0000 (13:22 -0600)
committerJonathan Corbet <corbet@lwn.net>
Thu, 18 Sep 2025 16:19:53 +0000 (10:19 -0600)
commitff1f2af341b72bd5b6b5d432da55faf2f6d24cfe
treef0b0e8f0987cb30133a94de6f6ee605bcec37a5f
parent08b5228cf455d46a23bfb341766563d1a48e3c8f
docs: kdoc: Simplify the dump_function() prototype regexes

The regexes for the parsing of function prototypes were more complicated
than they needed to be and difficult to understand -- at least, I spent a
fair amount of time bashing my head against them.  Simplify them, and add
some documentation comments as well.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/lib/kdoc/kdoc_parser.py