aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-xscripts/checkpatch.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 8afa88aaed96..96a762be5748 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1972,6 +1972,7 @@ sub process {
1972 } else { 1972 } else {
1973 $dstat =~ s/^.\s*\#\s*define\s+$Ident\s*//; 1973 $dstat =~ s/^.\s*\#\s*define\s+$Ident\s*//;
1974 } 1974 }
1975 $dstat =~ s/$;//g;
1975 $dstat =~ s/\\\n.//g; 1976 $dstat =~ s/\\\n.//g;
1976 $dstat =~ s/^\s*//s; 1977 $dstat =~ s/^\s*//s;
1977 $dstat =~ s/\s*$//s; 1978 $dstat =~ s/\s*$//s;