Re: [PATCH 0/3] serial: Add uart_xmit_advance() + fixes part (of a larger patch series)

From: Ilpo Järvinen
Date: Mon Aug 29 2022 - 03:54:55 EST


On Mon, 29 Aug 2022, Jiri Slaby wrote:

> On 29. 08. 22, 9:41, Ilpo Järvinen wrote:> Looking into your patches, they
> also seemed to lack that> icount.tx++ thing.
>
> Perhaps, you only overlooked it?
>
> + for (; (for_test) && (!tx_ready || tx_ready(port));
> + (for_post), port->icount.tx++) {

Ah, yes, I did (and its placement at the end of a multi-line for() didn't
help that much either for pick it up :-)).

--
i.