aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-xscripts/checkpatch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index ca6d0fb229f2..5e3f4191f959 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2609,7 +2609,7 @@ sub process {
2609 # Flatten any parentheses 2609 # Flatten any parentheses
2610 $value =~ s/\(/ \(/g; 2610 $value =~ s/\(/ \(/g;
2611 $value =~ s/\)/\) /g; 2611 $value =~ s/\)/\) /g;
2612 while ($value =~ s/\[[^\{\}]*\]/1/ || 2612 while ($value =~ s/\[[^\[\]]*\]/1/ ||
2613 $value !~ /(?:$Ident|-?$Constant)\s* 2613 $value !~ /(?:$Ident|-?$Constant)\s*
2614 $Compare\s* 2614 $Compare\s*
2615 (?:$Ident|-?$Constant)/x && 2615 (?:$Ident|-?$Constant)/x &&