diff options
Diffstat (limited to 'scripts/checkpatch.pl')
| -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 832e8150dba3..089c974aa3a5 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
| @@ -2628,8 +2628,8 @@ sub process { | |||
| 2628 | # Check if it's the start of a commit log | 2628 | # Check if it's the start of a commit log |
| 2629 | # (not a header line and we haven't seen the patch filename) | 2629 | # (not a header line and we haven't seen the patch filename) |
| 2630 | if ($in_header_lines && $realfile =~ /^$/ && | 2630 | if ($in_header_lines && $realfile =~ /^$/ && |
| 2631 | !($rawline =~ /^\s+\S/ || | 2631 | !($rawline =~ /^\s+(?:\S|$)/ || |
| 2632 | $rawline =~ /^(commit\b|from\b|[\w-]+:).*$/i)) { | 2632 | $rawline =~ /^(?:commit\b|from\b|[\w-]+:)/i)) { |
| 2633 | $in_header_lines = 0; | 2633 | $in_header_lines = 0; |
| 2634 | $in_commit_log = 1; | 2634 | $in_commit_log = 1; |
| 2635 | $has_commit_log = 1; | 2635 | $has_commit_log = 1; |
