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 5deee8bd0bae..eb534d48140e 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
| @@ -4089,7 +4089,7 @@ sub process { | |||
| 4089 | my ($where, $prefix) = ($-[1], $1); | 4089 | my ($where, $prefix) = ($-[1], $1); |
| 4090 | if ($prefix !~ /$Type\s+$/ && | 4090 | if ($prefix !~ /$Type\s+$/ && |
| 4091 | ($where != 0 || $prefix !~ /^.\s+$/) && | 4091 | ($where != 0 || $prefix !~ /^.\s+$/) && |
| 4092 | $prefix !~ /[{,]\s+$/) { | 4092 | $prefix !~ /[{,:]\s+$/) { |
| 4093 | if (ERROR("BRACKET_SPACE", | 4093 | if (ERROR("BRACKET_SPACE", |
| 4094 | "space prohibited before open square bracket '['\n" . $herecurr) && | 4094 | "space prohibited before open square bracket '['\n" . $herecurr) && |
| 4095 | $fix) { | 4095 | $fix) { |
