Re: [PATCH] mtd: spi-nor: sysfs: constify 'struct bin_attribute'
From: Pratyush Yadav
Date: Mon Dec 23 2024 - 03:29:56 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>
Acked-by: Pratyush Yadav <pratyush@xxxxxxxxxx>
--
Regards,
Pratyush Yadav