Thread (4 messages) 4 messages, 3 authors, 2025-01-15

Re: [PATCH net-next] net: phy: Constify struct mdio_device_id

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-01-15 01:30:13
Also in: kernel-janitors, linux-amlogic, linux-arm-kernel, linux-arm-msm, linux-mediatek, linux-rockchip, lkml

Hello:

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

On Sun, 12 Jan 2025 15:14:50 +0100 you wrote:
'struct mdio_device_id' is not modified in these drivers.

Constifying these structures moves some data to a read-only section, so
increase overall security.

On a x86_64, with allmodconfig, as an example:
Before:
======
   text	   data	    bss	    dec	    hex	filename
  27014	  12792	      0	  39806	   9b7e	drivers/net/phy/broadcom.o

[...]
Here is the summary with links:
  - [net-next] net: phy: Constify struct mdio_device_id
    https://git.kernel.org/netdev/net-next/c/b01b59a4fa87

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