From: Ben Widawsky Date: Mon, 7 Dec 2020 21:00:27 +0000 (-0800) Subject: kernel-doc: Fix example in Nested structs/unions X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9113584012847a7573d191b4544e1f6ed12a8142;p=linux.git kernel-doc: Fix example in Nested structs/unions Add missing ';' as well as fixes the indent for the first struct. Signed-off-by: Ben Widawsky Link: https://lore.kernel.org/r/20201207210027.1049346-1-ben.widawsky@intel.com Signed-off-by: Jonathan Corbet --- diff --git a/Documentation/doc-guide/kernel-doc.rst b/Documentation/doc-guide/kernel-doc.rst index 52a87ab4c99f2..79aaa55d6bcf2 100644 --- a/Documentation/doc-guide/kernel-doc.rst +++ b/Documentation/doc-guide/kernel-doc.rst @@ -247,12 +247,12 @@ It is possible to document nested structs and unions, like:: struct { int memb1; int memb2; - } + }; struct { void *memb3; int memb4; - } - } + }; + }; union { struct { int memb1;