[PATCH] mtd: spi-nor: sysfs: constify 'struct bin_attribute'

Pratyush Yadav pratyush at kernel.org
Mon Jan 13 09:53:27 PST 2025


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>

Applied to spi-nor/next. Thanks!

-- 
Regards,
Pratyush Yadav



More information about the linux-mtd mailing list