diff --git a/util/lint/checkpatch.pl b/util/lint/checkpatch.pl index ef2faee2bb..95296b9914 100755 --- a/util/lint/checkpatch.pl +++ b/util/lint/checkpatch.pl @@ -3338,6 +3338,7 @@ sub process { # if LONG_LINE is ignored, the other 2 types are also ignored # + $max_line_length += 1; # consider leading + in patches if ($line =~ /^\+/ && $length > $max_line_length) { my $msg_type = "LONG_LINE";