Re: [PATCH] [v2] bpf: add printf attributes
From: patchwork-bot+netdevbpf
Date: Mon Sep 21 2026 - 18:48:26 EST
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:
On Tue, 15 Sep 2026 23:30:09 +0200 you wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> Building with extra warnings enabled shows a missing printf attribute:
>
> kernel/bpf/diagnostics.c: In function 'bpf_diag_source':
> kernel/bpf/diagnostics.c:828:9: error: function 'bpf_diag_source' might be a candidate for 'gnu_printf' format attribute [-Werror=suggest-attribute=format]
> 828 | msg = bpf_diag_vfmt(env, fmt, args);
>
> [...]
Here is the summary with links:
- [v2] bpf: add printf attributes
https://git.kernel.org/bpf/bpf-next/c/7f2b0b57a8d7
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html