]> git.baikalelectronics.ru Git - kernel.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)
commit34a428101338206d9232e94bb6c76a96bee622f8
treeddaa48216d11fbe52101b2eb9292f037afbb4db7
parent9d2c6a544516a27f1bbc83eda24b8e9025fb924f
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