]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: add <foo>_<level> and MODULE_<BAR> to 80 column exceptions
authorJoe Perches <joe@perches.com>
Wed, 25 May 2011 00:13:40 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 25 May 2011 15:39:55 +0000 (08:39 -0700)
commite0e66ca67c6a0541930a870eff5fdcf6053b132e
tree64f6d81875c75e438df461618b8441e0116a6eb9
parent65ac1b87de8a77392307692352abdb4df0786251
checkpatch: add <foo>_<level> and MODULE_<BAR> to 80 column exceptions

Many module or file local logging functions use specific prefixes other
than pr|dev|netdev.  Allow all forms like foo_printk and foo_err to be
longer than 80 columns.

Also allow MODULE_<BAR> declarations to be longer than 80 columns.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl