Skip to content

Commit a6cf527

Browse files
JoePerchesakpm00
authored andcommitted
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/[email protected] Signed-off-by: Joe Perches <[email protected]> Cc: Dave Gilbert <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent e416f0e commit a6cf527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/checkpatch.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3294,7 +3294,7 @@ sub process {
32943294
# file delta changes
32953295
$line =~ /^\s*(?:[\w\.\-\+]*\/)++[\w\.\-\+]+:/ ||
32963296
# filename then :
3297-
$line =~ /^\s*(?:Fixes:|$link_tags_search|$signature_tags)/i ||
3297+
$line =~ /^\s*(?:Fixes:|https?:|$link_tags_search|$signature_tags)/i ||
32983298
# A Fixes:, link or signature tag line
32993299
$commit_log_possible_stack_dump)) {
33003300
WARN("COMMIT_LOG_LONG_LINE",

0 commit comments

Comments
 (0)