diff options
-rwxr-xr-x | scripts/checkpatch.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 79273003d5e7..7a28775274a5 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -2459,9 +2459,9 @@ sub process { | |||
2459 | 2459 | ||
2460 | # Check for git id commit length and improperly formed commit descriptions | 2460 | # Check for git id commit length and improperly formed commit descriptions |
2461 | if ($in_commit_log && !$commit_log_possible_stack_dump && | 2461 | if ($in_commit_log && !$commit_log_possible_stack_dump && |
2462 | $line !~ /^\s*(?:Link|Patchwork|http|BugLink):/i && | 2462 | $line !~ /^\s*(?:Link|Patchwork|http|https|BugLink):/i && |
2463 | ($line =~ /\bcommit\s+[0-9a-f]{5,}\b/i || | 2463 | ($line =~ /\bcommit\s+[0-9a-f]{5,}\b/i || |
2464 | ($line =~ /\b[0-9a-f]{12,40}\b/i && | 2464 | ($line =~ /(?:\s|^)[0-9a-f]{12,40}(?:[\s"'\(\[]|$)/i && |
2465 | $line !~ /[\<\[][0-9a-f]{12,40}[\>\]]/i && | 2465 | $line !~ /[\<\[][0-9a-f]{12,40}[\>\]]/i && |
2466 | $line !~ /\bfixes:\s*[0-9a-f]{12,40}/i))) { | 2466 | $line !~ /\bfixes:\s*[0-9a-f]{12,40}/i))) { |
2467 | my $init_char = "c"; | 2467 | my $init_char = "c"; |