aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/checkpatch.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 914e45a63731..39339529b99b 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -290,8 +290,8 @@ sub process {
290 } 290 }
291 291
292#make up the handle for any error we report on this line 292#make up the handle for any error we report on this line
293 $here = "PATCH: $ARGV:$linenr:"; 293 $here = "#$linenr: ";
294 $here .= "\nFILE: $realfile:$realline:" if ($realcnt != 0); 294 $here .= "FILE: $realfile:$realline:" if ($realcnt != 0);
295 295
296 my $herecurr = "$here\n$line\n\n"; 296 my $herecurr = "$here\n$line\n\n";
297 my $hereprev = "$here\n$prevline\n$line\n\n"; 297 my $hereprev = "$here\n$prevline\n$line\n\n";