Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b3189eb authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds
Browse files

checkpatch: check stable email address



It should be stable@vger.kernel.org, not stable@kernel.org.

Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 9819cf25
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1944,6 +1944,12 @@ sub process {
			}
		}

# Check for old stable address
		if ($line =~ /^\s*cc:\s*.*<?\bstable\@kernel\.org\b>?.*$/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",