diff options
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-x | scripts/checkpatch.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 9d761c95eca2..14f6a90ca217 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -2931,11 +2931,11 @@ sub process { | |||
2931 | } | 2931 | } |
2932 | } | 2932 | } |
2933 | if ($level == 0 && $block =~ /^\s*\{/ && !$allowed) { | 2933 | if ($level == 0 && $block =~ /^\s*\{/ && !$allowed) { |
2934 | my $herectx = $here . "\n";; | 2934 | my $herectx = $here . "\n"; |
2935 | my $cnt = statement_rawlines($block); | 2935 | my $cnt = statement_rawlines($block); |
2936 | 2936 | ||
2937 | for (my $n = 0; $n < $cnt; $n++) { | 2937 | for (my $n = 0; $n < $cnt; $n++) { |
2938 | $herectx .= raw_line($linenr, $n) . "\n";; | 2938 | $herectx .= raw_line($linenr, $n) . "\n"; |
2939 | } | 2939 | } |
2940 | 2940 | ||
2941 | WARN("BRACES", | 2941 | WARN("BRACES", |