diff --git a/[refs] b/[refs] index 260eee9ffef7..25e306207816 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 11232688ec41a507cdb476fc4e88aff8a3a34c3c +refs/heads/master: daebc534ac15f991961a5bb433e515988220e9bf diff --git a/trunk/scripts/checkpatch.pl b/trunk/scripts/checkpatch.pl index 0ee37bfdfd68..061c28e7bcfa 100755 --- a/trunk/scripts/checkpatch.pl +++ b/trunk/scripts/checkpatch.pl @@ -2391,7 +2391,7 @@ sub process { my ($where, $prefix) = ($-[1], $1); if ($prefix !~ /$Type\s+$/ && ($where != 0 || $prefix !~ /^.\s+$/) && - $prefix !~ /{\s+$/) { + $prefix !~ /[{,]\s+$/) { ERROR("BRACKET_SPACE", "space prohibited before open square bracket '['\n" . $herecurr); }