]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
doc: kdoc: unify transform handling
authorJonathan Corbet <corbet@lwn.net>
Thu, 4 Sep 2025 22:49:52 +0000 (16:49 -0600)
committerJonathan Corbet <corbet@lwn.net>
Thu, 18 Sep 2025 16:19:53 +0000 (10:19 -0600)
commita2752f8c631201e189f501fc4d320354efa3e72e
tree7f1787bcc85626466c4293a95b327166e3d115cd
parent4c232a81b0831e7bfa7518968e431d5db29b2cac
doc: kdoc: unify transform handling

Both functions and structs are passed through a set of regex-based
transforms, but the two were structured differently, despite being the same
thing.  Create a utility function to apply transformations and use it in
both cases.

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