]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kdoc: allow dots in inline @param names
authorSteven Price <steven.price@arm.com>
Thu, 11 Dec 2025 10:48:49 +0000 (10:48 +0000)
committerJonathan Corbet <corbet@lwn.net>
Mon, 22 Dec 2025 22:05:22 +0000 (15:05 -0700)
commit9dbbd32ecd7bbfa6d3fa150bf8de8bba25e8dab2
tree51d05bd2604ec0e6fb3157d3b0964fd88589875d
parent197bbebd25810c5218e3347d61641be8e49c5404
kdoc: allow dots in inline @param names

Inline kernel-doc blocks failed to parse tags containing dots (e.g.
creator.process_name in panfrost_gem.h) because the @name regex only
matched word characters. Modify the single-line pattern to match
doc_inline_sect so it includes \. and parses the same as a multi-line
comment.

Signed-off-by: Steven Price <steven.price@arm.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20251211104851.45330-1-steven.price@arm.com>
tools/lib/python/kdoc/kdoc_parser.py