summaryrefslogtreecommitdiff
path: root/tools/lib/python/__init__.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2026-03-02 17:40:48 +0100
committerJonathan Corbet <corbet@lwn.net>2026-03-03 10:47:24 -0700
commit4fd349f03dc51bc2f9cd2ea9f6309b0bc2b848ca (patch)
treee895bee51dc79401d67324af1d8b60fb6a15bda5 /tools/lib/python/__init__.py
parentcca1bbdd72f72a3cf86d90fd6f326fd709ae931f (diff)
downloadlwn-4fd349f03dc51bc2f9cd2ea9f6309b0bc2b848ca.tar.gz
lwn-4fd349f03dc51bc2f9cd2ea9f6309b0bc2b848ca.zip
docs: kdoc_parser: fix variable regexes to work with size_t
The regular expressions meant to pick variable types are too naive: they forgot that the type word may contain underlines. It also means that we need to change the regex which detects var attributes to handle "const". Co-developed-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <8230715239929cf9d475ab81ca1df7de65d82d06.1772469446.git.mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/lib/python/__init__.py')
0 files changed, 0 insertions, 0 deletions