]> git.ipfire.org Git - thirdparty/linux.git/commit
checkpatch/coding-style: deprecate 80-column warning
authorJoe Perches <joe@perches.com>
Fri, 29 May 2020 23:12:21 +0000 (16:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 31 May 2020 18:00:42 +0000 (11:00 -0700)
commitbdc48fa11e46f867ea4d75fa59ee87a7f48be144
treeddaa48216d11fbe52101b2eb9292f037afbb4db7
parent8fc984aedcedbbabae91d8496bd0b608c0749a98
checkpatch/coding-style: deprecate 80-column warning

Yes, staying withing 80 columns is certainly still _preferred_.  But
it's not the hard limit that the checkpatch warnings imply, and other
concerns can most certainly dominate.

Increase the default limit to 100 characters.  Not because 100
characters is some hard limit either, but that's certainly a "what are
you doing" kind of value and less likely to be about the occasional
slightly longer lines.

Miscellanea:

 - to avoid unnecessary whitespace changes in files, checkpatch will no
   longer emit a warning about line length when scanning files unless
   --strict is also used

 - Add a bit to coding-style about alignment to open parenthesis

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/process/coding-style.rst
scripts/checkpatch.pl