Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

checkpatch: reword long-line warning about commit-msg

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>

authored by

Jim Cromie and committed by
Andrew Morton
8e7b7ffb 5b2c7334

+1 -1
+1 -1
scripts/checkpatch.pl
··· 3272 3272 # A Fixes:, link or signature tag line 3273 3273 $commit_log_possible_stack_dump)) { 3274 3274 WARN("COMMIT_LOG_LONG_LINE", 3275 - "Possible unwrapped commit description (prefer a maximum 75 chars per line)\n" . $herecurr); 3275 + "Prefer a maximum 75 chars per line (possible unwrapped commit description?)\n" . $herecurr); 3276 3276 $commit_log_long_line = 1; 3277 3277 } 3278 3278