Thomas Weißschuh 0e3cd21cde ocxl: 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>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com>
Link: https://lore.kernel.org/r/20241221-sysfs-const-bin_attr-misc-drivers-v2-1-ba5e79fe8771@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-12-24 09:36:01 +01:00
..
2023-11-28 14:08:38 +01:00
2020-10-16 12:21:15 -07:00
2019-05-28 12:08:11 +10:00
2024-12-24 09:36:01 +01:00
2018-01-24 11:42:59 +11:00
2020-12-04 01:01:30 +11:00