aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-06-17 17:36:15 -0700
committerSam Ravnborg <sam@ravnborg.org>2009-06-20 13:35:00 +0200
commitb2fd6dbf25cba7d904b62b81639bca8678c901fa (patch)
treeaac8a516cb078d852d1f2d8cb70a97b6176c82f6 /scripts
parentac6ca5c86c63dd95acc6a34dff8d33c23b703a37 (diff)
downloadkernel_samsung_smdk4412-b2fd6dbf25cba7d904b62b81639bca8678c901fa.zip
kernel_samsung_smdk4412-b2fd6dbf25cba7d904b62b81639bca8678c901fa.tar.gz
kernel_samsung_smdk4412-b2fd6dbf25cba7d904b62b81639bca8678c901fa.tar.bz2
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')
-rwxr-xr-xscripts/kernel-doc2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index a193fa3..fde6e3a 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -1468,6 +1468,8 @@ sub dump_enum($$) {
}
}
+ # strip kmemcheck_bitfield_{begin,end}.*;
+ $members =~ s/kmemcheck_bitfield_.*?;//gos;
output_declaration($declaration_name,
'enum',