[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<177085971357.817736.11815620280391831698.git-patchwork-notify@kernel.org>
Date: Thu, 12 Feb 2026 01:28:33 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Arnd Bergmann <arnd@...nel.org>
Cc: kees@...nel.org, pmladek@...e.com, andriy.shevchenko@...ux.intel.com,
arnd@...db.de, lkp@...el.com, alexei.starovoitov@...il.com, andy@...nel.org,
ast@...nel.org, brgl@...nel.org, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org, bpf@...r.kernel.org
Subject: Re: [PATCH] vsnprintf: drop __printf() attributes on binary printing
functions
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Petr Mladek <pmladek@...e.com>:
On Wed, 4 Feb 2026 14:26:23 +0100 you wrote:
> From: Arnd Bergmann <arnd@...db.de>
>
> The printf() format attributes are applied inconsistently for the binary
> printf helpers, which causes warnings for the bpf_trace code using
> them from functions that pass down format strings:
>
> kernel/trace/bpf_trace.c: In function '____bpf_trace_printk':
> kernel/trace/bpf_trace.c:377:9: error: function '____bpf_trace_printk' might be a candidate for 'gnu_printf' format attribute [-Werror=suggest-attribute=format]
> 377 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args);
> | ^~~
>
> [...]
Here is the summary with links:
- vsnprintf: drop __printf() attributes on binary printing functions
https://git.kernel.org/bpf/bpf-next/c/b07829d546c8
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists