This is an automated email from Gerrit.

Paul Fertser (fercer...@gmail.com) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/2414

-- gerrit

commit c5fdab37dde014701a3e8218d989a1cf66b500a6
Author: Paul Fertser <fercer...@gmail.com>
Date:   Thu Nov 27 10:54:07 2014 +0300

    checkpatch: fix check for the FSF address
    
    Commit 4525c0a4c4d0aaa199c37a6d2245617e8445f213 cherry-picked check
    for the FSF address presence from upstream. However, it has a typo
    resulting in this obscure error when triggered:
    
    Use of uninitialized value in concatenation (.) or string at 
/home/jenkins/.jenkins/jobs/openocd-gerrit/workspace/tools/scripts/checkpatch.pl
 line 1258.
    ERROR:
    
    This patch fixes it.
    
    Change-Id: Ia417ef4782d21c8b3f1d39de88c4ab850a5a6630
    Signed-off-by: Paul Fertser <fercer...@gmail.com>

diff --git a/tools/scripts/checkpatch.pl b/tools/scripts/checkpatch.pl
index b3a0854..4eb50c3 100755
--- a/tools/scripts/checkpatch.pl
+++ b/tools/scripts/checkpatch.pl
@@ -1635,8 +1635,10 @@ sub process {
                    $rawline =~ /\b59\s+Temple\s+Pl/i ||
                    $rawline =~ /\b51\s+Franklin\s+St/i) {
                        my $herevet = "$here\n" . cat_vet($rawline) . "\n";
-                       my $msg_type = \&ERROR;
-                       ERROR("Do not include the paragraph about writing to 
the Free Software Foundation's mailing address from the sample GPL notice. The 
FSF has changed addresses in the past, and may do so again. Linux already 
includes a copy of the GPL.\n" . $herevet)
+                       ERROR("FSF_MAILING_ADDRESS",
+                             "Do not include the paragraph about writing to 
the Free Software Foundation's mailing address " .
+                             "from the sample GPL notice. The FSF has changed 
addresses in the past, and may do so again. " .
+                             "OpenOCD already includes a copy of the GPL.\n" . 
$herevet)
                }
 
 # check for Kconfig help text having a real description

-- 

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to