Re: [PATCH 05/13] serial: use guards for simple mutex locks

From: Greg KH
Date: Wed Aug 07 2024 - 07:15:37 EST


On Mon, Aug 05, 2024 at 12:20:38PM +0200, Jiri Slaby (SUSE) wrote:
> Guards can help to make the code more readable. So use it wherever they
> do so.
>
> On many places labels and 'ret' locals are eliminated completely.
>
> Signed-off-by: Jiri Slaby (SUSE) <jirislaby@xxxxxxxxxx>
> ---
> drivers/tty/serial/serial_core.c | 111 +++++++++++++------------------
> 1 file changed, 46 insertions(+), 65 deletions(-)

Ah, this was the breaking patch. I applied the first 4 now, will let
you respin this one and resend the remaining.

thanks,

greg k-h