diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/checkpatch.pl | 6 |
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", |
