diff options
-rwxr-xr-x | scripts/checkpatch.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index a0880ede3db9..9f14bf928cc7 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -2456,7 +2456,7 @@ sub process { | |||
2456 | } | 2456 | } |
2457 | } | 2457 | } |
2458 | 2458 | ||
2459 | if ($line =~ /^\+.*\(\s*$Type\s*\)[ \t]+(?!$Assignment|$Arithmetic)/) { | 2459 | if ($line =~ /^\+.*\(\s*$Type\s*\)[ \t]+(?!$Assignment|$Arithmetic|{)/) { |
2460 | if (CHK("SPACING", | 2460 | if (CHK("SPACING", |
2461 | "No space is necessary after a cast\n" . $herecurr) && | 2461 | "No space is necessary after a cast\n" . $herecurr) && |
2462 | $fix) { | 2462 | $fix) { |