Re: [PATCH net-next 4/5] netxen_nic: constify 'struct bin_attribute'

From: Simon Horman
Date: Tue Dec 17 2024 - 05:28:25 EST


On Mon, Dec 16, 2024 at 12:30:11PM +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>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>