Re: [PATCH net-next] sfc: avoid truncating MCDI hwmon attribute names
From: patchwork-bot+netdevbpf
Date: Tue Nov 10 2026 - 16:52:40 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Thu, 5 Nov 2026 10:01:15 +0800 you wrote:
> The name of each MCDI hwmon attribute is built in a 12-byte buffer as
> prefix + 1-based per-type index + suffix, with prefixes up to "power"
> and suffixes up to "_input". With W=1 gcc reports:
>
> warning: 'snprintf' output may be truncated before the last format
> character [-Wformat-truncation=]
>
> [...]
Here is the summary with links:
- [net-next] sfc: avoid truncating MCDI hwmon attribute names
https://git.kernel.org/netdev/net-next/c/97ced2c090bf
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html