mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
kernel-doc: move ignoring kmemcheck
Somehow I managed to generate a diff that put these 2 lines into the wrong function: should have been in dump_struct() instead of in dump_enum(). Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
5c5d4e8eaf
commit
d960eea974
1 changed files with 2 additions and 2 deletions
|
@ -1426,6 +1426,8 @@ sub dump_struct($$) {
|
|||
# strip comments:
|
||||
$members =~ s/\/\*.*?\*\///gos;
|
||||
$nested =~ s/\/\*.*?\*\///gos;
|
||||
# strip kmemcheck_bitfield_{begin,end}.*;
|
||||
$members =~ s/kmemcheck_bitfield_.*?;//gos;
|
||||
|
||||
create_parameterlist($members, ';', $file);
|
||||
check_sections($file, $declaration_name, "struct", $sectcheck, $struct_actual, $nested);
|
||||
|
@ -1468,8 +1470,6 @@ sub dump_enum($$) {
|
|||
}
|
||||
|
||||
}
|
||||
# strip kmemcheck_bitfield_{begin,end}.*;
|
||||
$members =~ s/kmemcheck_bitfield_.*?;//gos;
|
||||
|
||||
output_declaration($declaration_name,
|
||||
'enum',
|
||||
|
|
Loading…
Reference in a new issue