]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: add test for blank lines after function/struct/union/enum
authorJoe Perches <joe@perches.com>
Wed, 6 Aug 2014 23:10:39 +0000 (16:10 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Aug 2014 01:01:27 +0000 (18:01 -0700)
commit1c3d9814329f8bd8ac2f1f0ec8176d6d4656fff9
treea3aafc8267a3d2d8c898cc11a198303ca1c5fa83
parent32d9ffbcd2dd01234940a59574db8631251d9878
checkpatch: add test for blank lines after function/struct/union/enum

Add a --strict test asking for a blank line after
function/struct/union/enum declarations.

Allow exceptions for several attributes and macro 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