diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/checkpatch.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 3ba2db637384..db7778a8f414 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
| @@ -3451,7 +3451,8 @@ sub process { | |||
| 3451 | $dstat !~ /^for\s*$Constant$/ && # for (...) | 3451 | $dstat !~ /^for\s*$Constant$/ && # for (...) |
| 3452 | $dstat !~ /^for\s*$Constant\s+(?:$Ident|-?$Constant)$/ && # for (...) bar() | 3452 | $dstat !~ /^for\s*$Constant\s+(?:$Ident|-?$Constant)$/ && # for (...) bar() |
| 3453 | $dstat !~ /^do\s*{/ && # do {... | 3453 | $dstat !~ /^do\s*{/ && # do {... |
| 3454 | $dstat !~ /^\({/) # ({... | 3454 | $dstat !~ /^\({/ && # ({... |
| 3455 | $ctx !~ /^.\s*#\s*define\s+TRACE_(?:SYSTEM|INCLUDE_FILE|INCLUDE_PATH)\b/) | ||
| 3455 | { | 3456 | { |
| 3456 | $ctx =~ s/\n*$//; | 3457 | $ctx =~ s/\n*$//; |
| 3457 | my $herectx = $here . "\n"; | 3458 | my $herectx = $here . "\n"; |
