projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d151a23
)
kernel-doc: Fix example in Nested structs/unions
author
Ben Widawsky
<ben.widawsky@intel.com>
Mon, 7 Dec 2020 21:00:27 +0000
(13:00 -0800)
committer
Jonathan Corbet
<corbet@lwn.net>
Tue, 8 Dec 2020 17:23:17 +0000
(10:23 -0700)
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>
Documentation/doc-guide/kernel-doc.rst
patch
|
blob
|
history
diff --git
a/Documentation/doc-guide/kernel-doc.rst
b/Documentation/doc-guide/kernel-doc.rst
index 52a87ab4c99f2dd36873d4330afa282bcb29c325..79aaa55d6bcf2bb08a5d76e925903442b9863828 100644
(file)
--- 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;