From c73e3e3c08ce12b86bad5dcb34f3a07c0bf226da Mon Sep 17 00:00:00 2001 From: "jianxin.pan" Date: Thu, 29 Jun 2017 13:20:06 +0800 Subject: [PATCH] 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 --- scripts/checkpatch.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index a1a89b6..1bcb9aaa 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 && -- 2.7.4