Re: [PATCH] checkpatch: Only warn for empty lines before closing braces by themselves

2013-04-11 Thread Joe Perches
On Wed, 2013-04-10 at 10:49 +0200, Matthijs Kooijman wrote: > This check was intended to catch extra newlines at the end of a function > definition, but it would trigger on any closing brace, including those > of inline functions and macro definitions, triggering false positives. > Now, only closin

[PATCH] checkpatch: Only warn for empty lines before closing braces by themselves

2013-04-10 Thread Matthijs Kooijman
This check was intended to catch extra newlines at the end of a function definition, but it would trigger on any closing brace, including those of inline functions and macro definitions, triggering false positives. Now, only closing braces on a line by themselves trigger this check. Tested with: