This is an automated email from Gerrit.

Antony Pavlov ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/2341

-- gerrit

commit 410b19be8d1884df0c0d436774d156ecae0a0bf2
Author: Antony Pavlov <[email protected]>
Date:   Fri Oct 10 08:27:14 2014 +0400

    checkpatch.pl: check for the FSF mailing address
    
    This check code is imported from Linux v3.17 checkpatch.pl.
    
    Change-Id: If39d834ee9b6131bccc92de38fd7c108650bd2f1
    Signed-off-by: Antony Pavlov <[email protected]>

diff --git a/tools/scripts/checkpatch.pl b/tools/scripts/checkpatch.pl
index 4a3dbb9..56a3744 100755
--- a/tools/scripts/checkpatch.pl
+++ b/tools/scripts/checkpatch.pl
@@ -1631,6 +1631,14 @@ sub process {
                        $rpt_cleaners = 1;
                }
 
+               if ($rawline =~ /\bwrite to the Free/i ||
+                   $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)
+               }
+
 # check for Kconfig help text having a real description
 # Only applies when adding the entry originally, after that we do not have
 # sufficient context to determine whether it is indeed long enough.

-- 

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to