Re: [PATCH] eth: dpaa2: constify dpaa2_ethtool_stats and dpaa2_ethtool_extras
From: patchwork-bot+netdevbpf
Date: Mon May 25 2026 - 17:30:52 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Sat, 23 May 2026 15:07:35 +0000 you wrote:
> The 'dpaa2_ethtool_stats' and 'dpaa2_ethtool_extras' structures are
> initialized in their declarations and never changed. So, constify them
> to reduce the attack surface.
>
> Before the patch (size dpaa2-ethtool.o):
>
> text data bss dec hex
> 33433 5992 0 39425 9a01
>
> [...]
Here is the summary with links:
- eth: dpaa2: constify dpaa2_ethtool_stats and dpaa2_ethtool_extras
https://git.kernel.org/netdev/net-next/c/3baa7ba4ab98
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html