diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-06-18 02:36:15 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-06-20 13:35:00 +0200 |
commit | b2fd6dbf25cba7d904b62b81639bca8678c901fa (patch) | |
tree | aac8a516cb078d852d1f2d8cb70a97b6176c82f6 /scripts | |
parent | kallsyms: fix inverted valid symbol checking (diff) | |
download | linux-b2fd6dbf25cba7d904b62b81639bca8678c901fa.tar.xz linux-b2fd6dbf25cba7d904b62b81639bca8678c901fa.zip |
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-x | scripts/kernel-doc | 2 |
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($$) { } } + # strip kmemcheck_bitfield_{begin,end}.*; + $members =~ s/kmemcheck_bitfield_.*?;//gos; output_declaration($declaration_name, 'enum', |