diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index f354ae619da0..0ef4ae1de8ee 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -1944,6 +1944,12 @@ sub process { } } +# Check for old stable address + if ($line =~ /^\s*cc:\s*.*?.*$/i) { + ERROR("STABLE_ADDRESS", + "The 'stable' address should be 'stable\@vger.kernel.org'\n" . $herecurr); + } + # Check for unwanted Gerrit info if ($in_commit_log && $line =~ /^\s*change-id:/i) { ERROR("GERRIT_CHANGE_ID",