Message ID | 12157307-d058-ba0d-affd-779a92981928@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git i/scripts/checkpatch.pl w/scripts/checkpatch.pl index 1b4b812e28f..0d3f753c665 100755 --- i/scripts/checkpatch.pl +++ w/scripts/checkpatch.pl @@ -1447,9 +1447,10 @@ sub process { # check we are in a valid source file if not then ignore this hunk next if ($realfile !~ /$SrcFile/); -#90 column limit +#90 column limit; exempt URLs, if no other words on line if ($line =~ /^\+/ && !($line =~ /^\+\s*"[^"]*"\s*(?:\s*|,|\)\s*;)\s*$/) && + !($rawline =~ /^[^[:alnum:]]*https?:\S*$/) && $length > 80) { if ($length > 90) {