Commit 389834b6 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

checkpatch: produce fewer lines of output

Produce one less line of output per flagged incident.

Change this:

use tabs not spaces
PATCH: /home/rddunlap/arcmsr1200014.patch4:756:
FILE: b/drivers/scsi/arcmsr/arcmsr_hba.c:1843:
+                     return PCI_ERS_RESULT_NEED_RESET;$

to this:

use tabs not spaces
#756: FILE: b/drivers/scsi/arcmsr/arcmsr_hba.c:1843:
+                     return PCI_ERS_RESULT_NEED_RESET;$

Cc: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 76c4e5ea
...@@ -290,8 +290,8 @@ sub process { ...@@ -290,8 +290,8 @@ sub process {
} }
#make up the handle for any error we report on this line #make up the handle for any error we report on this line
$here = "PATCH: $ARGV:$linenr:"; $here = "#$linenr: ";
$here .= "\nFILE: $realfile:$realline:" if ($realcnt != 0); $here .= "FILE: $realfile:$realline:" if ($realcnt != 0);
my $herecurr = "$here\n$line\n\n"; my $herecurr = "$here\n$line\n\n";
my $hereprev = "$here\n$prevline\n$line\n\n"; my $hereprev = "$here\n$prevline\n$line\n\n";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment