Hi Sasha,
On 03/11/2026 16:55, Sasha Levin wrote:
On 32-bit architectures size_t is an unsigned int, and printing
sizeof(struct nlmsgerr) with %ld warns:
pm_nl_ctl.c:73:71: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=]
Use %zu.
Thank you for the fix, it looks good to me:
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
@Net maintainers: please apply this patch to net-next directly.
Cheers,
Matt
--
Sponsored by the NGI0 Core fund.