Re: [PATCH] hwmon: (occ/p9_sbe) Constify 'struct bin_attribute'

From: Guenter Roeck
Date: Sun Dec 15 2024 - 11:10:11 EST


On Sun, Dec 15, 2024 at 04:19:04PM +0100, 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.

Thanks,
Guenter