hulk inclusion category: bugfix bugzilla: https://atomgit.com/openeuler/kernel/issues/10069 -------------------------------- The Reference tag provides a link to the patch in the upstream community and is very likely to exceed 75 characters, which is expected. Add it to the exemption list to get rid of the COMMIT_LOG_LONG_LINE warning. Fixes: bf4daf12a9fb ("checkpatch: avoid some commit message long line warnings") Signed-off-by: Tengda Wu <wutengda2@huawei.com> --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 161b0224d6ae..6dddfa1da8a8 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2686,7 +2686,7 @@ sub process { # file delta changes $line =~ /^\s*(?:[\w\.\-]+\/)++[\w\.\-]+:/ || # filename then : - $line =~ /^\s*(?:Fixes:|Link:)/i || + $line =~ /^\s*(?:Fixes:|Link:|Reference:)/i || # A Fixes: or Link: line $commit_log_possible_stack_dump)) { WARN("COMMIT_LOG_LONG_LINE", -- 2.34.1