aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-xscripts/checkpatch.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 66f060ecb81f..83ae37b38621 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1670,6 +1670,7 @@ sub process {
1670 my $value = $2; 1670 my $value = $2;
1671 1671
1672 # Flatten any parentheses and braces 1672 # Flatten any parentheses and braces
1673 $value =~ s/\)\(/\) \(/g;
1673 while ($value =~ s/\([^\(\)]*\)/1/) { 1674 while ($value =~ s/\([^\(\)]*\)/1/) {
1674 } 1675 }
1675 1676