script: remove error for change-id when checkpatch
authorjianxin.pan <jianxin.pan@amlogic.com>
Thu, 29 Jun 2017 05:20:06 +0000 (13:20 +0800)
committerVictor Wan <victor.wan@amlogic.com>
Thu, 29 Jun 2017 06:20:41 +0000 (23:20 -0700)
PD#138714: remove the following error when checkpatch
Remove Gerrit Change-Id's before submitting upstream

Change-Id: I7276a44cef37d7cc4906be996d6eb9a19ae1102a
Signed-off-by: jianxin.pan <jianxin.pan@amlogic.com>
scripts/checkpatch.pl

index a1a89b6..1bcb9aa 100755 (executable)
@@ -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 &&