Re: [PATCH v2 1/1] lib/vsprintf: Deduplicate special hex number specifier data

From: Petr Mladek

Date: Fri Nov 14 2025 - 04:45:51 EST


On Thu 2025-11-13 16:02:59, Andy Shevchenko wrote:
> Two functions use the same specifier data for the special hex number.
> Almost the same as the field width is calculated on the size of the
> given type. Due to that, make a compound literal macro in order to
> deduplicate the rest.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Looks good to me:

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>
Tested-by: Petr Mladek <pmladek@xxxxxxxx>

I am going to wait few more days for potential feedback and push
it next Wednesday or so if nobody complained.

Best Regards,
Petr