Thread (2 messages) 2 messages, 2 authors, 2025-05-28

Re: [PATCH net-next] cxgb4: Constify struct thermal_zone_device_ops

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-05-28 01:20:13
Also in: kernel-janitors, lkml

Hello:

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

On Sun, 25 May 2025 11:21:24 +0200 you wrote:
'struct thermal_zone_device_ops' are not modified in this driver.

Constifying these structures moves some data to a read-only section, so
increases overall security, especially when the structure holds some
function pointers.

On a x86_64, with allmodconfig:
Before:
======
   text	   data	    bss	    dec	    hex	filename
   2912	   1064	      0	   3976	    f88	drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.o

[...]
Here is the summary with links:
  - [net-next] cxgb4: Constify struct thermal_zone_device_ops
    https://git.kernel.org/netdev/net-next/c/08f8bad0255c

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