]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Documentation: kernel-doc: enumerate identifier *type*s
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 19 Nov 2024 20:32:01 +0000 (12:32 -0800)
committerJonathan Corbet <corbet@lwn.net>
Fri, 22 Nov 2024 17:37:40 +0000 (10:37 -0700)
Explain that a kernel-doc :identifiers: line can refer to a struct,
union, enum, or typedef as well as functions.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20241119203201.110953-1-rdunlap@infradead.org
Documentation/doc-guide/kernel-doc.rst

index e6ffd59bb8f0fcbae3b7cd7934b1fa70bd09fe9a..af9697e60165d2821d94450fe0fdb1a8899b3563 100644 (file)
@@ -533,6 +533,7 @@ identifiers: *[ function/type ...]*
   Include documentation for each *function* and *type* in *source*.
   If no *function* is specified, the documentation for all functions
   and types in the *source* will be included.
+  *type* can be a struct, union, enum, or typedef identifier.
 
   Examples::