Re: [PATCH v1 1/1] lib/vsprintf: Unify FORMAT_STATE_NUM handlers
From: Petr Mladek
Date: Mon Nov 24 2025 - 10:08:56 EST
On Thu 2025-11-20 09:31:40, Andy Shevchenko wrote:
> We have two almost identical pieces that handle FORMAT_STATE_NUM case.
> The differences are:
> - redundant {} for one-line if-else conditional
> - missing blank line after variable definitions
> - inverted conditional
>
> Unify the style of two.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Looks good to me:
Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>
It is a trivial change. I am going to push it right away...
Best Regards,
Petr