aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkpatch.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 3dfc47134e51..0b3e35c9ef08 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2932,11 +2932,11 @@ sub process {
2932 } 2932 }
2933 } 2933 }
2934 if ($level == 0 && $block =~ /^\s*\{/ && !$allowed) { 2934 if ($level == 0 && $block =~ /^\s*\{/ && !$allowed) {
2935 my $herectx = $here . "\n";; 2935 my $herectx = $here . "\n";
2936 my $cnt = statement_rawlines($block); 2936 my $cnt = statement_rawlines($block);
2937 2937
2938 for (my $n = 0; $n < $cnt; $n++) { 2938 for (my $n = 0; $n < $cnt; $n++) {
2939 $herectx .= raw_line($linenr, $n) . "\n";; 2939 $herectx .= raw_line($linenr, $n) . "\n";
2940 } 2940 }
2941 2941
2942 WARN("BRACES", 2942 WARN("BRACES",