]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: Allow longer declaration macros
authorJoe Perches <joe@perches.com>
Wed, 9 Sep 2015 22:37:33 +0000 (15:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 10 Sep 2015 20:29:01 +0000 (13:29 -0700)
commitfdc7b62f0248c8cf7a199cbc319cab4a928ac283
tree2964260eb4ba5b82a859f4c4b562ffce6d31dfcb
parent214ca989173660feeb528f49f54cfc49cd76d8f9
checkpatch: Allow longer declaration macros

Some really long declaration macros exist.

For instance;
   DEFINE_DMA_BUF_EXPORT_INFO(exp_info);
and
DECLARE_DM_KCOPYD_THROTTLE_WITH_MODULE_PARM(name, description)

Increase the limit from 2 words to 6 after DECLARE/DEFINE uses.

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