From: jianxin.pan Date: Thu, 29 Jun 2017 05:20:06 +0000 (+0800) Subject: script: remove error for change-id when checkpatch X-Git-Tag: khadas-vims-v0.9.6-release~3036 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c73e3e3c08ce12b86bad5dcb34f3a07c0bf226da;p=platform%2Fkernel%2Flinux-amlogic.git script: remove error for change-id when checkpatch PD#138714: remove the following error when checkpatch Remove Gerrit Change-Id's before submitting upstream Change-Id: I7276a44cef37d7cc4906be996d6eb9a19ae1102a Signed-off-by: jianxin.pan --- diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index a1a89b6..1bcb9aa 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2490,10 +2490,10 @@ sub process { } # Check for unwanted Gerrit info - if ($in_commit_log && $line =~ /^\s*change-id:/i) { - ERROR("GERRIT_CHANGE_ID", - "Remove Gerrit Change-Id's before submitting upstream.\n" . $herecurr); - } + #if ($in_commit_log && $line =~ /^\s*change-id:/i) { + # ERROR("GERRIT_CHANGE_ID", + # "Remove Gerrit Change-Id's before submitting upstream.\n" . $herecurr); + #} # Check if the commit log is in a possible stack dump if ($in_commit_log && !$commit_log_possible_stack_dump &&