We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4664034 commit db5358bCopy full SHA for db5358b
checkpatch.pl
@@ -4655,8 +4655,8 @@ sub process {
4655
# ignore tests
4656
} elsif ($realfile =~ /\bbox\.h$/ && $line =~ /^\+\s*(?:$Declare)?\s*box_set_/) {
4657
# ignore box_set_XXX in box.h
4658
- } elsif ($line =~ /^\+\s*(?:$Declare)?\s*generic_/) {
4659
- # generic_XXX functions are stubs so comments are not required
+ } elsif ($line =~ /^\+\s*(?:$Declare)?\s*(?:generic_|disabled_|exhausted_)/) {
+ # generic_XXX, disabled_XXX, exhausted_XXX are functions are stubs so comments are not required
4660
} elsif ($line =~ /^\+\s*($Declare)?\s*(?:($Ident)\s*\(|\(\s*\*\s*($Ident)\s*\)\s*\(|($Ident)\s*;)/) {
4661
# function, function pointer, variable / struct member
4662
my $decl = $1;
0 commit comments