checkpatch: Add --strict messages for blank lines around braces
authorJoe Perches <joe@perches.com>
Tue, 18 Dec 2012 00:01:59 +0000 (16:01 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:19 +0000 (17:15 -0800)
commit0979ae66464bd9793c6701861bccb21f9f118a52
treee2e7a6f513aba1c433dbad1ccbb24adb834ca406
parent481eb486a88c9b068f0168ac4c21291802720933
checkpatch: Add --strict messages for blank lines around braces

Blank lines around braces are not unnecessary.  Emit a message on the use
of these blank lines only when using --strict.

int foo(int bar)
{

something or other....

}

is generally written in the kernel as:

int foo(int bar)
{
something or other...
}

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