Commit 6e96788b authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Jonathan Corbet

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: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 3651d452
...@@ -237,7 +237,7 @@ on a line of their own, like all other kernel-doc comments:: ...@@ -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
~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment