diff options
Diffstat (limited to 'scripts/checkpatch.pl')
| -rwxr-xr-x | scripts/checkpatch.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 0ee37bfdfd68..061c28e7bcfa 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
| @@ -2391,7 +2391,7 @@ sub process { | |||
| 2391 | my ($where, $prefix) = ($-[1], $1); | 2391 | my ($where, $prefix) = ($-[1], $1); |
| 2392 | if ($prefix !~ /$Type\s+$/ && | 2392 | if ($prefix !~ /$Type\s+$/ && |
| 2393 | ($where != 0 || $prefix !~ /^.\s+$/) && | 2393 | ($where != 0 || $prefix !~ /^.\s+$/) && |
| 2394 | $prefix !~ /{\s+$/) { | 2394 | $prefix !~ /[{,]\s+$/) { |
| 2395 | ERROR("BRACKET_SPACE", | 2395 | ERROR("BRACKET_SPACE", |
| 2396 | "space prohibited before open square bracket '['\n" . $herecurr); | 2396 | "space prohibited before open square bracket '['\n" . $herecurr); |
| 2397 | } | 2397 | } |
