Skip to contentSkip to conversation

Checkpatch: Add another old address for the FSF

PATCH Matthew Wilcox 2 participants 2 messages Jan 28, 2017 Checkpatch

lore
Share & tools
lore
#0 lore raw

From: Matthew Wilcox <[email protected]>

We still have a lot of old addresses for the FSF in the kernel.

willy@harry:~/kernel/idr$ git grep '675 Mass' |wc -l
1502
willy@harry:~/kernel/idr$ git grep '59 Temple' |wc -l
2825
willy@harry:~/kernel/idr$ git grep '51 Franklin' |wc -l
2020

Let's discourage adding the oldest one too.

scripts/checkpatch.pl +1 -0
index 982c52ca6473..6163a51f31e5 100755
@@ -2695,6 +2695,7 @@ sub process {
 
 # Check for FSF mailing addresses.
 		if ($rawline =~ /\bwrite to the Free/i ||
+		    $rawline =~ /\b675\s+Mass\s+Ave/i ||
 		    $rawline =~ /\b59\s+Temple\s+Pl/i ||
 		    $rawline =~ /\b51\s+Franklin\s+St/i) {
 			my $herevet = "$here\n" . cat_vet($rawline) . "\n";
maintainer Acked-by
#1 lore raw
Quoted 8 lines · Matthew Wilcox

We still have a lot of old addresses for the FSF in the kernel.

willy@harry:~/kernel/idr$ git grep '675 Mass' |wc -l
1502
willy@harry:~/kernel/idr$ git grep '59 Temple' |wc -l
2825
willy@harry:~/kernel/idr$ git grep '51 Franklin' |wc -l
2020
Let's discourage adding the oldest one too.

[]

scripts/checkpatch.pl

Quoted 1 line
scripts/checkpatch.pl +0 -0

[]

scripts/checkpatch.pl sub process { · line 2701

Quoted 8 lines
scripts/checkpatch.pl +1 -0
@@ -2695,6 +2695,7 @@ sub process {
 
 # Check for FSF mailing addresses.
 		if ($rawline =~ /\bwrite to the Free/i ||
+		    $rawline =~ /\b675\s+Mass\s+Ave/i ||
 		    $rawline =~ /\b59\s+Temple\s+Pl/i ||
 		    $rawline =~ /\b51\s+Franklin\s+St/i) {
 			my $herevet = "$here\n" . cat_vet($rawline) . "\n";