aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/checkpatch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index d8ac16ab5e61..afc656d00589 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2131,7 +2131,7 @@ sub process {
2131 # XXX(foo); 2131 # XXX(foo);
2132 # EXPORT_SYMBOL(something_foo); 2132 # EXPORT_SYMBOL(something_foo);
2133 my $name = $1; 2133 my $name = $1;
2134 if ($stat =~ /^.([A-Z_]+)\s*\(\s*($Ident)/ && 2134 if ($stat =~ /^(?:.\s*}\s*\n)?.([A-Z_]+)\s*\(\s*($Ident)/ &&
2135 $name =~ /^${Ident}_$2/) { 2135 $name =~ /^${Ident}_$2/) {
2136#print "FOO C name<$name>\n"; 2136#print "FOO C name<$name>\n";
2137 $suppress_export{$realline_next} = 1; 2137 $suppress_export{$realline_next} = 1;