[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3c92a9b4-c531-d960-a3cd-827c42f7f48e@linux.intel.com>
Date: Tue, 20 Sep 2022 11:11:08 +0300 (EEST)
From: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
To: Jiri Slaby <jslaby@...e.cz>
cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-serial <linux-serial@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Vladimir Zapolskiy <vz@...ia.com>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v4 05/10] tty: serial: extract tx_ready() from
__serial_lpc32xx_tx()
On Tue, 20 Sep 2022, Jiri Slaby wrote:
> The condition in __serial_lpc32xx_tx()'s loop is barely readable.
> Extract it to a separate function. This will make the cleanup in the
> next patches easier too.
>
> Cc: Vladimir Zapolskiy <vz@...ia.com>
> Cc: <linux-arm-kernel@...ts.infradead.org>
> Signed-off-by: Jiri Slaby <jslaby@...e.cz>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
I noticed that wait_for_xmit_ready() uses < 32 for the similar check
which seems fishy...
--
i.
Powered by blists - more mailing lists