[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DB6PR05MB4551CE3468BE5BC059981F49831EA@DB6PR05MB4551.eurprd05.prod.outlook.com>
Date: Fri, 26 Sep 2025 09:18:38 +0000
From: Maarten Brock <Maarten.Brock@...ls.nl>
To: Hugo Villeneuve <hugo@...ovil.com>, "gregkh@...uxfoundation.org"
<gregkh@...uxfoundation.org>, "jirislaby@...nel.org" <jirislaby@...nel.org>,
"fvallee@...rea.fr" <fvallee@...rea.fr>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-serial@...r.kernel.org" <linux-serial@...r.kernel.org>, Hugo
Villeneuve <hvilleneuve@...onoff.com>
Subject: RE: [PATCH 13/15] serial: sc16is7xx: change incorrect indentation
Hi Hugo,
> From: Hugo Villeneuve <hvilleneuve@...onoff.com>
>
> Change incorrect indentation level introduced in commit 9eb90d57b55a
> ("sc16is7xx: Add flag to activate IrDA mode").
> --- a/drivers/tty/serial/sc16is7xx.c
> +++ b/drivers/tty/serial/sc16is7xx.c
> @@ -1181,7 +1181,7 @@ static int sc16is7xx_startup(struct uart_port *port)
> sc16is7xx_port_update(port, SC16IS7XX_MCR_REG,
> SC16IS7XX_MCR_IRDA_BIT,
> one->irda_mode ?
> - SC16IS7XX_MCR_IRDA_BIT : 0);
> + SC16IS7XX_MCR_IRDA_BIT : 0);
Are you sure you want to unindent this?
To me it now looks as if both "one->irda_mode" and "SC16IS7XX_MCR_IRDA_BIT : 0" are parameters.
And why not fix this by placing both on one line? Is 76 characters already over the line length limit?
Kind regards,
Maarten Brock
Powered by blists - more mailing lists