History

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().

Randy Dunlap committed 17 years ago

Commit d960eea1 parent 5c5d4e81 file · +2 −2Browse files

Unified · Split

scripts/kernel-doc+2−2
@@ -1426,6 +1426,8 @@ sub dump_struct($$) { · 1425 unmodified lines
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($$) { · 36 unmodified lines
14681470 }
14691471
14701472 }
1471− # strip kmemcheck_bitfield_{begin,end}.*;
1472− $members =~ s/kmemcheck_bitfield_.*?;//gos;
14731473
14741474 output_declaration($declaration_name,
14751475 'enum',

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t