Re: [PATCH] i2c: slave-eeprom: Constify 'struct bin_attribute'
From: Wolfram Sang
Date: Thu Jan 09 2025 - 04:55:38 EST
On Sun, Dec 15, 2024 at 02:21:39PM +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 to for-next, thanks!
Attachment:
signature.asc
Description: PGP signature