]> Gentwo Git Trees - linux/.git/commit
docs: kdoc: move the function transform patterns out of dump_function()
authorJonathan Corbet <corbet@lwn.net>
Thu, 4 Sep 2025 22:40:49 +0000 (16:40 -0600)
committerJonathan Corbet <corbet@lwn.net>
Thu, 18 Sep 2025 16:19:53 +0000 (10:19 -0600)
commit4c232a81b0831e7bfa7518968e431d5db29b2cac
treed662aeee3edbd3aa4fda87c5d2d756d7a92f1b75
parentf853e83006ab39c3dafe085a488c14bb46906601
docs: kdoc: move the function transform patterns out of dump_function()

Move these definitions to file level, where they are executed once, and
don't clutter the function itself.

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