Re: [PATCH] tty: xtensa/iss: Use umin() to fix Coccinelle warning

From: Thorsten Blum
Date: Thu Apr 04 2024 - 03:35:27 EST


On 4. Apr 2024, at 07:05, Jiri Slaby <jirislaby@xxxxxxxxxx> wrote:
>
> The cast to unsigned (ie. umin()) is now not necessary. You should have used min() as was suggested, right?

Yes, umin() was only necessary before I casted len from int to size_t.

I'll submit a v2 shortly.

Thanks,
Thorsten