[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Fri, 03 Mar 2017 12:16:34 -0800
From: Joe Perches <joe@...ches.com>
To: Julia Lawall <julia.lawall@...6.fr>,
Arushi Singhal <arushisinghal19971997@...il.com>
Cc: w.d.hubbs@...il.com, chris@...-brannons.com,
outreachy-kernel@...glegroups.com, kirk@...sers.ca,
samuel.thibault@...-lyon.org, gregkh@...uxfoundation.org,
speakup@...ux-speakup.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: Re: [Outreachy kernel] [PATCH 6/6] staging: speakup: fixes braces
{} should be used on all arms of this statement
On Fri, 2017-03-03 at 19:40 +0100, Julia Lawall wrote:
> On Sat, 4 Mar 2017, Arushi Singhal wrote:
> > This patch fixes the checks reported by checkpatch.pl
> > for braces {} should be used on all arms of this statement.
> >
> > Signed-off-by: Arushi Singhal <arushisinghal19971997@...il.com>
> > ---
> > drivers/staging/speakup/main.c | 29 +++++++++++++++++++----------
> > 1 file changed, 19 insertions(+), 10 deletions(-)
> >
> > diff --git a/drivers/staging/speakup/main.c b/drivers/staging/speakup/main.c
> > index 7915e75664f4..6179e0aafa25 100644
> > --- a/drivers/staging/speakup/main.c
> > +++ b/drivers/staging/speakup/main.c
> > @@ -640,8 +640,9 @@ static void say_prev_word(struct vc_data *vc)
> > break;
> > spk_y--;
> > spk_x = vc->vc_cols - 1;
> > - } else
> > + } else{
>
> else needs a space after it.
And if you had scanned this suggested patch with
checkpatch, you would have known that.
Powered by blists - more mailing lists