From: Joe Perches Date: Sun, 10 Aug 2025 04:31:10 +0000 (-0700) Subject: checkpatch: allow http links of any length in commit logs X-Git-Tag: v6.18-rc1~129^2~64 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a6cf527e66b8ea7b3119a354a873ebfa57ea225e;p=thirdparty%2Fkernel%2Fstable.git checkpatch: allow http links of any length in commit logs Dave Gilbert noticed that checkpatch warns about URL links over 75 chars in length in commit logs. Fix that. Link: https://lkml.kernel.org/r/3529faaf84a5a9a96c5c0ec4183ae0ba6e97673c.camel@perches.com Signed-off-by: Joe Perches Cc: Dave Gilbert Signed-off-by: Andrew Morton --- diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index e722dd6fa8ef3..319cc5f858858 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -3294,7 +3294,7 @@ sub process { # file delta changes $line =~ /^\s*(?:[\w\.\-\+]*\/)++[\w\.\-\+]+:/ || # filename then : - $line =~ /^\s*(?:Fixes:|$link_tags_search|$signature_tags)/i || + $line =~ /^\s*(?:Fixes:|https?:|$link_tags_search|$signature_tags)/i || # A Fixes:, link or signature tag line $commit_log_possible_stack_dump)) { WARN("COMMIT_LOG_LONG_LINE",