checkpatch: don't warn on blank lines before/after braces as often
commit77b9a53a627491df83a75361440485629c35aa91
authorJoe Perches <joe@perches.com>
Wed, 3 Jul 2013 22:05:29 +0000 (3 15:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:07:44 +0000 (3 16:07 -0700)
tree8a3176a5cc00a3e8173e03b73b8459f21c8cdf3b
parentc4a62ef9102bfa39f3bb89be2ae1ae11a23ebe28
checkpatch: don't warn on blank lines before/after braces as often

Check to make sure the blank lines aren't comment lines like:

  bool foo(bool bar)
  {
/* Don't warn on a leading comment */
return !bar;
/* Don't warn on a trailing comment either */
  }

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