Update link tags in checkpatch.pl script to fix openEuler kernel ci warning: WARNING:COMMIT_LOG_USE_LINK: Unknown link reference 'bugzilla:', use 'Link:' or 'Closes:' instead.
Wei Li (1): checkpatch: Update check of link tags
scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
反馈: 您发送到kernel@openeuler.org的补丁/补丁集,已成功转换为PR! PR链接地址: https://gitee.com/openeuler/kernel/pulls/2968 邮件列表地址:https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/G...
FeedBack: The patch(es) which you have sent to kernel@openeuler.org mailing list has been converted to a pull request successfully! Pull request link: https://gitee.com/openeuler/kernel/pulls/2968 Mailing list address: https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/G...
From: Wei Li liwei391@huawei.com
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8JC6Z
--------------------------------
Custom 'bugzilla' and 'Reference' tags can also be URL, update the check of link tags.
Signed-off-by: Wei Li liwei391@huawei.com Signed-off-by: Zheng Zengkai zhengzengkai@huawei.com --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 7d16f863edf1..35cead40a66d 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -622,7 +622,7 @@ our $signature_tags = qr{(?xi: Cc: )};
-our @link_tags = qw(Link Closes); +our @link_tags = qw(Link Closes bugzilla Reference);
#Create a search and print patterns for all these strings to be used directly below our $link_tags_search = "";