mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
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>
This commit is contained in:
parent
ac6ca5c86c
commit
b2fd6dbf25
1 changed files with 2 additions and 0 deletions
|
@ -1468,6 +1468,8 @@ sub dump_enum($$) {
|
|||
}
|
||||
|
||||
}
|
||||
# strip kmemcheck_bitfield_{begin,end}.*;
|
||||
$members =~ s/kmemcheck_bitfield_.*?;//gos;
|
||||
|
||||
output_declaration($declaration_name,
|
||||
'enum',
|
||||
|
|
Loading…
Reference in a new issue