[PATCH] mtd: spi-nor: sysfs: constify 'struct bin_attribute'
Pratyush Yadav
pratyush at kernel.org
Mon Dec 23 00:29:46 PST 2024
On Sun, Dec 22 2024, Thomas Weißschuh wrote:
> 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 at weissschuh.net>
Acked-by: Pratyush Yadav <pratyush at kernel.org>
--
Regards,
Pratyush Yadav
More information about the linux-mtd
mailing list