Files
linux/drivers/gpu/drm
Thomas Weißschuh 7787bfb3b0 drm/sysfs: 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: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://lore.kernel.org/r/20241216-sysfs-const-bin_attr-drm-v1-1-210f2b36b9bf@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-02-21 09:20:31 +01:00
..
2025-01-23 14:42:21 +01:00
2024-11-05 10:50:55 -03:00
2024-12-13 15:20:40 +01:00
2025-01-10 14:24:17 +10:00
2025-01-23 14:42:21 +01:00
2025-01-23 14:42:21 +01:00