Re: Checkpatch: Add another old address for the FSF

From: Joe Perches
Date: Sat Jan 28 2017 - 13:37:38 EST


On Sat, 2017-01-28 at 09:30 -0800, Matthew Wilcox wrote:
> 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.
[]
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
[]
> @@ -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";

Acked-by: Joe Perches <joe@xxxxxxxxxxx>