mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 23:16:16 +07:00
doc-guide: kernel-doc: fix example for inlined comments
Without ending with a ";", kernel-doc doesn't recognize it as an struct, and it fails to parse the example. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
parent
3651d452fd
commit
6e96788bd8
@ -237,7 +237,7 @@ on a line of their own, like all other kernel-doc comments::
|
|||||||
int baz;
|
int baz;
|
||||||
/** @foobar: Single line description. */
|
/** @foobar: Single line description. */
|
||||||
int foobar;
|
int foobar;
|
||||||
}
|
};
|
||||||
|
|
||||||
Nested structs/unions
|
Nested structs/unions
|
||||||
~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Loading…
Reference in New Issue
Block a user