Remove FSF address warning from checkpatch.

This often bites me when I'm merging changes from mainline, and never
catches a real problem in this fork.

Change-Id: I07f4c275db2c0bccb413eeba9ec1759b216f31a9
Signed-off-by: Tim Newsome <tim@sifive.com>
This commit is contained in:
Tim Newsome 2021-04-15 14:29:30 -07:00
parent 7420382a4d
commit aa8d30a446
1 changed files with 10 additions and 9 deletions

View File

@ -1631,15 +1631,16 @@ 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";
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)
}
# Don't care in this branch. This always messes up when we merge changes down.
#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";
# 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
# Only applies when adding the entry originally, after that we do not have