Skip to content

Commit d960eea

Browse files
rddunlaptorvalds
authored andcommitted
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>
1 parent 5c5d4e8 commit d960eea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/kernel-doc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1426,6 +1426,8 @@ sub dump_struct($$) {
14261426
# strip comments:
14271427
$members =~ s/\/\*.*?\*\///gos;
14281428
$nested =~ s/\/\*.*?\*\///gos;
1429+
# strip kmemcheck_bitfield_{begin,end}.*;
1430+
$members =~ s/kmemcheck_bitfield_.*?;//gos;
14291431

14301432
create_parameterlist($members, ';', $file);
14311433
check_sections($file, $declaration_name, "struct", $sectcheck, $struct_actual, $nested);
@@ -1468,8 +1470,6 @@ sub dump_enum($$) {
14681470
}
14691471

14701472
}
1471-
# strip kmemcheck_bitfield_{begin,end}.*;
1472-
$members =~ s/kmemcheck_bitfield_.*?;//gos;
14731473

14741474
output_declaration($declaration_name,
14751475
'enum',

0 commit comments

Comments
 (0)