diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2007-06-08 16:47:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-06-08 20:23:34 -0400 |
commit | 389834b680c13f4727c14f70fa71c2c5678b6081 (patch) | |
tree | d45e1c7ef1a2eecddb5557a2259f7c7ca347d058 /scripts | |
parent | 76c4e5eafe93df0d03c9d1dc2e4e3efd344be34b (diff) |
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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/checkpatch.pl | 4 |
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"; |