diff options
Diffstat (limited to 'scripts/checkpatch.pl')
| -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 d9b09eb767bb..fbb1b7e88e87 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
| @@ -1924,6 +1924,12 @@ sub process { | |||
| 1924 | } | 1924 | } |
| 1925 | } | 1925 | } |
| 1926 | 1926 | ||
| 1927 | # Check for unwanted Gerrit info | ||
| 1928 | if ($in_commit_log && $line =~ /^\s*change-id:/i) { | ||
| 1929 | ERROR("GERRIT_CHANGE_ID", | ||
| 1930 | "Remove Gerrit Change-Id's before submitting upstream.\n" . $herecurr); | ||
| 1931 | } | ||
| 1932 | |||
| 1927 | # Check for wrappage within a valid hunk of the file | 1933 | # Check for wrappage within a valid hunk of the file |
| 1928 | if ($realcnt != 0 && $line !~ m{^(?:\+|-| |\\ No newline|$)}) { | 1934 | if ($realcnt != 0 && $line !~ m{^(?:\+|-| |\\ No newline|$)}) { |
| 1929 | ERROR("CORRUPTED_PATCH", | 1935 | ERROR("CORRUPTED_PATCH", |
