diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 66f060ecb81fab6e8ce5240954a1f5224f7d7ca3..83ae37b3862121ad68980138fe71df96180d85cf 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -1670,6 +1670,7 @@ sub process { my $value = $2; # Flatten any parentheses and braces + $value =~ s/\)\(/\) \(/g; while ($value =~ s/\([^\(\)]*\)/1/) { }