diff options
Diffstat (limited to 'scripts/checkpatch.pl')
-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 7f1804e052f2..a9baaabfae36 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -2541,7 +2541,7 @@ sub process { | |||
2541 | } | 2541 | } |
2542 | } | 2542 | } |
2543 | 2543 | ||
2544 | if ($line =~ /^\+.*(\w+\s*)?\(\s*$Type\s*\)[ \t]+(?!$Assignment|$Arithmetic|[,;\({\[\<\>])/ && | 2544 | if ($line =~ /^\+.*(\w+\s*)?\(\s*$Type\s*\)[ \t]+(?!$Assignment|$Arithmetic|[,;:\?\(\{\}\[\<\>]|&&|\|\||\\$)/ && |
2545 | (!defined($1) || $1 !~ /sizeof\s*/)) { | 2545 | (!defined($1) || $1 !~ /sizeof\s*/)) { |
2546 | if (CHK("SPACING", | 2546 | if (CHK("SPACING", |
2547 | "No space is necessary after a cast\n" . $herecurr) && | 2547 | "No space is necessary after a cast\n" . $herecurr) && |