[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a735448b2e7b5b24079a4b6cfc6a3612996484f2.camel@perches.com>
Date: Thu, 30 Aug 2018 05:49:51 -0700
From: Joe Perches <joe@...ches.com>
To: Dan Carpenter <dan.carpenter@...cle.com>,
Nicholas Krause <xerofoify@...il.com>
Cc: gregkh@...uxfoundation.org, devel@...verdev.osuosl.org,
keescook@...omium.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging:fwserial:Fix parentheses alignment in fwserial.c
On Thu, 2018-08-30 at 11:28 +0300, Dan Carpenter wrote:
> On Wed, Aug 29, 2018 at 06:03:26PM -0400, Nicholas Krause wrote:
> > Fix a checkpatch warning for the file, fwserial.c that warns about
> > alignment between parentheses and the line belows code not being
> > properly aligned with each other.
> >
> > Signed-off-by: Nicholas Krause <xerofoify@...il.com>
Nick Krause?
I wonder if after 4 years he has improved.
> > diff --git a/drivers/staging/fwserial/fwserial.c b/drivers/staging/fwserial/fwserial.c
[]
> > @@ -1328,7 +1328,7 @@ static int fwtty_break_ctl(struct tty_struct *tty, int state)
> > if (state == -1) {
> > set_bit(STOP_TX, &port->flags);
> > ret = wait_event_interruptible_timeout(port->wait_tx,
> > - !test_bit(IN_TX, &port->flags),
> > + !test_bit(IN_TX, &port->flags),
> > 10);
>
> Now it goes over 80 characters and the "10);" isn't aligned properly.
> The original is fine.
Perhaps not.
Powered by blists - more mailing lists