Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: kdoc_parser: allow __exit in function prototypes

Handle functions that are marked with __exit to prevent warnings:

Documentation/networking/iucv:35: ../net/iucv/iucv.c:1918: WARNING: Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 12]
void __exit iucv_exit (void)
------------^

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260206065440.2412185-1-rdunlap@infradead.org>

authored by

Randy Dunlap and committed by
Jonathan Corbet
b211a306 0a832933

+1
+1
tools/lib/python/kdoc/kdoc_parser.py
··· 175 175 (KernRe(r"^__FORTIFY_INLINE +"), ""), 176 176 (KernRe(r"__init +"), ""), 177 177 (KernRe(r"__init_or_module +"), ""), 178 + (KernRe(r"__exit +"), ""), 178 179 (KernRe(r"__deprecated +"), ""), 179 180 (KernRe(r"__flatten +"), ""), 180 181 (KernRe(r"__meminit +"), ""),