A lot of the Fixes: tags go over the 75 character limit and that's ok.

Fixes: 2a076f40d8c9 ('checkpatch, SubmittingPatches: suggest line wrapping 
commit messages at 75 columns')
Signed-off-by: Dan Carpenter <dan.carpen...@oracle.com>
---
The other common cause of false positives it Oops output but I don't
have an idea how to filter for that.

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 90e1edc..537973b 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2310,7 +2310,7 @@ sub process {
 
 # Check for line lengths > 75 in commit log, warn once
                if ($in_commit_log && !$commit_log_long_line &&
-                   length($line) > 75) {
+                   length($line) > 75 && !($line =~ /^Fixes:/)) {
                        WARN("COMMIT_LOG_LONG_LINE",
                             "Possible unwrapped commit description (prefer a 
maximum 75 chars per line)\n" . $herecurr);
                        $commit_log_long_line = 1;
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to