Re: [PATCH v3] printf: convert test_hashed into macro

From: Petr Mladek

Date: Wed Jan 28 2026 - 04:38:46 EST


On Wed 2026-01-21 11:10:08, Tamir Duberstein wrote:
> This allows the compiler to check the arguments against the __printf()
> attribute on __test(). This produces better diagnostics when incorrect
> inputs are passed.
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202512061600.89CKQ3ag-lkp@xxxxxxxxx/
> Signed-off-by: Tamir Duberstein <tamird@xxxxxxxxxx>

JFYI, the patch has been comitted into printk/linux.git,
branch for-6.20.

Best Regards,
Petr