aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkpatch.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index aa009a3b5b81..b6f267b72035 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1547,8 +1547,9 @@ sub process {
1547 $s =~ /^\s*#\s*?/ || 1547 $s =~ /^\s*#\s*?/ ||
1548 $s =~ /^\s*$Ident\s*:/) { 1548 $s =~ /^\s*$Ident\s*:/) {
1549 $continuation = ($s =~ /^.*?\\\n/) ? 1 : 0; 1549 $continuation = ($s =~ /^.*?\\\n/) ? 1 : 0;
1550 $s =~ s/^.*?\n//; 1550 if ($s =~ s/^.*?\n//) {
1551 $cond_lines++; 1551 $cond_lines++;
1552 }
1552 } 1553 }
1553 } 1554 }
1554 1555