diff --git a/[refs] b/[refs] index 12112fca691e..26e81b7af3b3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e01886ada28741d7cb2cfb3224e9caccfbc1a2d5 +refs/heads/master: c81769fdc84ed7c6eb3cc5cecb194324a5e4c8ad diff --git a/trunk/scripts/checkpatch.pl b/trunk/scripts/checkpatch.pl index 5e3f4191f959..ba7bcf34ad01 100755 --- a/trunk/scripts/checkpatch.pl +++ b/trunk/scripts/checkpatch.pl @@ -2815,7 +2815,7 @@ sub process { # Flatten any parentheses and braces while ($dstat =~ s/\([^\(\)]*\)/1/ || $dstat =~ s/\{[^\{\}]*\}/1/ || - $dstat =~ s/\[[^\{\}]*\]/1/) + $dstat =~ s/\[[^\[\]]*\]/1/) { }