]> 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)
commitbda4cecadc751abe21838a7f6335660ab111154f
treea3aafc8267a3d2d8c898cc11a198303ca1c5fa83
parent7a047e4351fadb028ce6dd0c86853b14a8f1de48
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