aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-06-04 19:12:10 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-04 19:54:20 -0400
commit9b3189eb424044e51c8847063b2ba314b57b6ed2 (patch)
treed9a670f00a28f8297f5b8114d691c025581c0ef3 /scripts/checkpatch.pl
parent9819cf252a0fad1bf46aac8a051cf30426e073ee (diff)
checkpatch: check stable email address
It should be stable@vger.kernel.org, not stable@kernel.org. Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-xscripts/checkpatch.pl6
1 files changed, 6 insertions, 0 deletions
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 {
1944 } 1944 }
1945 } 1945 }
1946 1946
1947# Check for old stable address
1948 if ($line =~ /^\s*cc:\s*.*<?\bstable\@kernel\.org\b>?.*$/i) {
1949 ERROR("STABLE_ADDRESS",
1950 "The 'stable' address should be 'stable\@vger.kernel.org'\n" . $herecurr);
1951 }
1952
1947# Check for unwanted Gerrit info 1953# Check for unwanted Gerrit info
1948 if ($in_commit_log && $line =~ /^\s*change-id:/i) { 1954 if ($in_commit_log && $line =~ /^\s*change-id:/i) {
1949 ERROR("GERRIT_CHANGE_ID", 1955 ERROR("GERRIT_CHANGE_ID",