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

From: Pratyush Yadav
Date: Mon Jan 13 2025 - 12:54:15 EST


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@xxxxxxxxxxxxxx>

Applied to spi-nor/next. Thanks!

--
Regards,
Pratyush Yadav