Re: [PATCH 04/18] serial: sc16is7xx: improve do/while loop in sc16is7xx_irq()

From: Andy Shevchenko
Date: Wed Dec 20 2023 - 10:43:00 EST


On Tue, Dec 19, 2023 at 12:18:48PM -0500, Hugo Villeneuve wrote:
> From: Hugo Villeneuve <hvilleneuve@xxxxxxxxxxxx>
>
> Simplify and improve readability by replacing while(1) loop with
> do {} while, and by using the keep_polling variable as the exit
> condition, making it more explicit.

...

> + bool keep_polling;

> +

Stray blank line. Otherwise LGTM.

--
With Best Regards,
Andy Shevchenko