Thread (4 messages) flat view 4 messages, 3 authors, 2026-05-30

Re: [PATCH] eth: dpaa2: constify dpaa2_ethtool_stats and dpaa2_ethtool_extras

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-05-25 21:30:04
Also in: lkml

Hello:

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

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help