]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
doc-guide: kernel-doc: fix example for inlined comments
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 16 Feb 2018 13:48:16 +0000 (11:48 -0200)
committerJonathan Corbet <corbet@lwn.net>
Sun, 18 Feb 2018 23:54:44 +0000 (16:54 -0700)
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>
Documentation/doc-guide/kernel-doc.rst

index 9fce378dccb27c6a0a21332ef56b22b85b50bbd7..3c00ce0c84e5ec56dbb831c3b7dea91a3c7207f3 100644 (file)
@@ -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
 ~~~~~~~~~~~~~~~~~~~~~