diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/checkpatch.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 53b2eaecba0c..d5361e49abad 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -2476,8 +2476,8 @@ sub process { | |||
2476 | \.$Ident\s*=\s*| | 2476 | \.$Ident\s*=\s*| |
2477 | ^\"|\"$ | 2477 | ^\"|\"$ |
2478 | }x; | 2478 | }x; |
2479 | #print "REST<$rest> dstat<$dstat>\n"; | 2479 | #print "REST<$rest> dstat<$dstat> ctx<$ctx>\n"; |
2480 | if ($rest ne '') { | 2480 | if ($rest ne '' && $rest ne ',') { |
2481 | if ($rest !~ /while\s*\(/ && | 2481 | if ($rest !~ /while\s*\(/ && |
2482 | $dstat !~ /$exceptions/) | 2482 | $dstat !~ /$exceptions/) |
2483 | { | 2483 | { |