Re: [PATCH v4 06/10] tty: serial: switch mpc52xx_uart_int_{r,t}x_chars() to bool

From: Ilpo Järvinen
Date: Tue Sep 20 2022 - 04:39:17 EST


On Tue, 20 Sep 2022, Jiri Slaby wrote:

> mpc52xx_uart_int_rx_chars() returns unsigned int.
> mpc52xx_uart_int_tx_chars() returns int.
>
> The both results are binary ORed to the "keepgoing" variable. Unify all
> three to bool as the only interesting value is whether we should keep
> looping (true/false).
>
> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>

--
i.