aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-06-17 20:36:15 -0400
committerSam Ravnborg <sam@ravnborg.org>2009-06-20 07:35:00 -0400
commitb2fd6dbf25cba7d904b62b81639bca8678c901fa (patch)
treeaac8a516cb078d852d1f2d8cb70a97b6176c82f6 /scripts/kernel-doc
parentac6ca5c86c63dd95acc6a34dff8d33c23b703a37 (diff)
kernel-doc: ignore kmemcheck_bitfield_begin/end
Teach kernel-doc to ignore kmemcheck_bitfield_{begin,end} sugar so that it won't generate warnings like this: Warning(include/net/sock.h:297): No description found for parameter 'kmemcheck_bitfield_begin(flags)' Warning(include/net/sock.h:297): No description found for parameter 'kmemcheck_bitfield_end(flags)' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/kernel-doc')
-rwxr-xr-xscripts/kernel-doc2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index a193fa3f5272..fde6e3a22e70 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -1468,6 +1468,8 @@ sub dump_enum($$) {
1468 } 1468 }
1469 1469
1470 } 1470 }
1471 # strip kmemcheck_bitfield_{begin,end}.*;
1472 $members =~ s/kmemcheck_bitfield_.*?;//gos;
1471 1473
1472 output_declaration($declaration_name, 1474 output_declaration($declaration_name,
1473 'enum', 1475 'enum',