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: remove the INLINE_END state

It is never used, so just get rid of it.

Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20250627184000.132291-7-corbet@lwn.net

+1 -3
+1 -3
scripts/lib/kdoc/kdoc_parser.py
··· 108 108 INLINE_NA = 0 # not applicable ($state != INLINE) 109 109 INLINE_NAME = 1 # looking for member name (@foo:) 110 110 INLINE_TEXT = 2 # looking for member documentation 111 - INLINE_END = 3 # done 112 - INLINE_ERROR = 4 # error - Comment without header was found. 111 + INLINE_ERROR = 3 # error - Comment without header was found. 113 112 # Spit a warning as it's not 114 113 # proper kernel-doc and ignore the rest. 115 114 ··· 116 117 "", 117 118 "_NAME", 118 119 "_TEXT", 119 - "_END", 120 120 "_ERROR", 121 121 ] 122 122