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)
commit7f61919144ca69ea29f29c3e60c5b7dbd2070aa6
treea3aafc8267a3d2d8c898cc11a198303ca1c5fa83
parent048b123fad06f33169caa4afd6d56d58c31517e5
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