| commit | 77b9a53a627491df83a75361440485629c35aa91 | [log] [tgz] |
|---|---|---|
| author | Joe Perches <joe@perches.com> | Wed Jul 03 15:05:29 2013 -0700 |
| committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Jul 03 16:07:44 2013 -0700 |
| tree | 8a3176a5cc00a3e8173e03b73b8459f21c8cdf3b | |
| parent | c4a62ef9102bfa39f3bb89be2ae1ae11a23ebe28 [diff] |
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>