2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/net/ethernet/qlogic/netxen
Thomas Weißschuh ae026eae08 netxen_nic: constify 'struct bin_attribute'
The sysfs core now allows instances of 'struct bin_attribute' to be
moved into read-only memory. Make use of that to protect them against
accidental or malicious modifications.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241216-sysfs-const-bin_attr-net-v1-4-ec460b91f274@weissschuh.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-12-17 19:00:51 -08:00
..
Makefile
netxen_nic_ctx.c netxen_nic: Use {low,upp}er_32_bits() helpers 2024-07-09 19:01:01 -07:00
netxen_nic_ethtool.c net: qlogic: use ethtool string helpers 2024-10-29 16:26:18 -07:00
netxen_nic_hdr.h
netxen_nic_hw.c net: annotate writes on dev->mtu from ndo_change_mtu() 2024-05-07 16:19:14 -07:00
netxen_nic_hw.h
netxen_nic_init.c netxen_nic: remove redundant assignment to variable capability 2024-02-08 19:06:27 -08:00
netxen_nic_main.c netxen_nic: constify 'struct bin_attribute' 2024-12-17 19:00:51 -08:00
netxen_nic.h netxen_nic: Replace fake flex-array with flexible-array member 2023-03-08 00:16:58 -08:00