From: Randy Dunlap Date: Fri, 8 Jun 2007 20:47:03 +0000 (-0700) Subject: checkpatch: produce fewer lines of output X-Git-Tag: v2.6.22-rc5~66 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=389834b680c13f4727c14f70fa71c2c5678b6081;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 914e45a6373..39339529b99 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -290,8 +290,8 @@ sub process { } #make up the handle for any error we report on this line - $here = "PATCH: $ARGV:$linenr:"; - $here .= "\nFILE: $realfile:$realline:" if ($realcnt != 0); + $here = "#$linenr: "; + $here .= "FILE: $realfile:$realline:" if ($realcnt != 0); my $herecurr = "$here\n$line\n\n"; my $hereprev = "$here\n$prevline\n$line\n\n";