Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=389834b680c13f4727c14f70fa71c2c5678b6081
Commit:     389834b680c13f4727c14f70fa71c2c5678b6081
Parent:     76c4e5eafe93df0d03c9d1dc2e4e3efd344be34b
Author:     Randy Dunlap <[EMAIL PROTECTED]>
AuthorDate: Fri Jun 8 13:47:03 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Fri Jun 8 17:23:34 2007 -0700

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 scripts/checkpatch.pl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 914e45a..3933952 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";
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to