[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175253942775.4037397.6464344303980348898.git-patchwork-notify@kernel.org>
Date: Tue, 15 Jul 2025 00:30:27 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Alok Tiwari <alok.a.tiwari@...cle.com>
Cc: sgoutham@...vell.com, andrew+netdev@...n.ch, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com, horms@...nel.org,
netdev@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
darren.kenny@...cle.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next v3] net: thunderx: Fix format-truncation warning
in
bgx_acpi_match_id()
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Fri, 11 Jul 2025 07:05:30 -0700 you wrote:
> The buffer bgx_sel used in snprintf() was too small to safely hold
> the formatted string "BGX%d" for all valid bgx_id values. This caused
> a -Wformat-truncation warning with `Werror` enabled during build.
>
> Increase the buffer size from 5 to 7 and use `sizeof(bgx_sel)` in
> snprintf() to ensure safety and suppress the warning.
>
> [...]
Here is the summary with links:
- [net-next,v3] net: thunderx: Fix format-truncation warning in bgx_acpi_match_id()
https://git.kernel.org/netdev/net-next/c/53d20606c406
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