checkpatch: reword long-line warning about commit-msg
authorJim Cromie <jim.cromie@gmail.com>
Tue, 8 Aug 2023 03:30:19 +0000 (21:30 -0600)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 21 Aug 2023 20:46:21 +0000 (13:46 -0700)
Reword the warning to complain about line length 1st, since thats
whats actually tested.

Link: https://lkml.kernel.org/r/20230808033019.21911-3-jim.cromie@gmail.com
Cc: apw@canonical.com
Cc: joe@perches.com
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/checkpatch.pl

index 6aabcc1f66c1b6a713665d78000a26abb5cff9fe..6e789dc074201211675d863f73ac47a0c5a9f146 100755 (executable)
@@ -3272,7 +3272,7 @@ sub process {
                                        # A Fixes:, link or signature tag line
                      $commit_log_possible_stack_dump)) {
                        WARN("COMMIT_LOG_LONG_LINE",
-                            "Possible unwrapped commit description (prefer a maximum 75 chars per line)\n" . $herecurr);
+                            "Prefer a maximum 75 chars per line (possible unwrapped commit description?)\n" . $herecurr);
                        $commit_log_long_line = 1;
                }