Re: [PATCH] selftests: mptcp: pm_nl_ctl: print sizeof() with %zu
From: patchwork-bot+netdevbpf
Date: Fri Nov 06 2026 - 17:51:27 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 3 Nov 2026 10:55:06 -0500 you 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.
>
> [...]
Here is the summary with links:
- selftests: mptcp: pm_nl_ctl: print sizeof() with %zu
https://git.kernel.org/netdev/net-next/c/1146fbb8024b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html