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

Re: [PATCH net-next] mlxsw: core_thermal: Constify struct thermal_zone_device_ops

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-05-28 01:20:14
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:13:17 +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.

While at it, also constify a struct thermal_zone_params.

[...]
Here is the summary with links:
  - [net-next] mlxsw: core_thermal: Constify struct thermal_zone_device_ops
    https://git.kernel.org/netdev/net-next/c/82fb5a369b8d

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