diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-06-17 17:36:15 -0700 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-06-20 13:35:00 +0200 |
commit | b2fd6dbf25cba7d904b62b81639bca8678c901fa (patch) | |
tree | aac8a516cb078d852d1f2d8cb70a97b6176c82f6 /scripts/kernel-doc | |
parent | ac6ca5c86c63dd95acc6a34dff8d33c23b703a37 (diff) | |
download | linux-3.10-b2fd6dbf25cba7d904b62b81639bca8678c901fa.tar.gz linux-3.10-b2fd6dbf25cba7d904b62b81639bca8678c901fa.tar.bz2 linux-3.10-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/kernel-doc')
-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 a193fa3f527..fde6e3a22e7 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', |