Re: [PATCH net-next] sfc: avoid truncating MCDI hwmon attribute names

From
patchwork-bot+netdevbpf@kernel.org
Date
2026-11-10 21:40:12
Also in
lkml
Reply to
xujiahao, 2026-11-05
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

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

Thread (2 messages) 2 messages, 2 authors, last reply 1d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help