From: Mauro Carvalho Chehab Date: Fri, 16 Feb 2018 13:48:16 +0000 (-0200) Subject: doc-guide: kernel-doc: fix example for inlined comments X-Git-Tag: v4.17-rc1~149^2~62 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6e96788bd8d90bb66f65264e01be7ec7abd36215;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Jonathan Corbet --- diff --git a/Documentation/doc-guide/kernel-doc.rst b/Documentation/doc-guide/kernel-doc.rst index 9fce378dccb27..3c00ce0c84e5e 100644 --- a/Documentation/doc-guide/kernel-doc.rst +++ b/Documentation/doc-guide/kernel-doc.rst @@ -237,7 +237,7 @@ on a line of their own, like all other kernel-doc comments:: int baz; /** @foobar: Single line description. */ int foobar; - } + }; Nested structs/unions ~~~~~~~~~~~~~~~~~~~~~