Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <ben.widawsky@intel.com>
Link: https://lore.kernel.org/r/20201207210027.1049346-1-ben.widawsky@intel.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Ben Widawsky and committed by
Jonathan Corbet
91135840 d151a23d

+3 -3
+3 -3
Documentation/doc-guide/kernel-doc.rst
··· 247 247 struct { 248 248 int memb1; 249 249 int memb2; 250 - } 250 + }; 251 251 struct { 252 252 void *memb3; 253 253 int memb4; 254 - } 255 - } 254 + }; 255 + }; 256 256 union { 257 257 struct { 258 258 int memb1;