Re: [PATCH] checkpatch.pl: Also suggest 'else if' when if follows brace

2014-06-20 Thread Joe Perches
On Fri, 2014-06-20 at 22:04 +0200, Rasmus Villemoes wrote: > This might help a kernel hacker think twice before blindly adding a > newline. Sure, fine by me. > Signed-off-by: Rasmus Villemoes > --- > scripts/checkpatch.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a

[PATCH] checkpatch.pl: Also suggest 'else if' when if follows brace

2014-06-20 Thread Rasmus Villemoes
This might help a kernel hacker think twice before blindly adding a newline. Signed-off-by: Rasmus Villemoes --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 010b18e..e1924eb 100755 --- a/scripts/che