Re: [net-next,3/5] wifi: wlcore: sysfs: constify 'struct bin_attribute'
From: Kalle Valo
Date: Wed Dec 18 2024 - 13:06:06 EST
Thomas Weißschuh <linux@xxxxxxxxxxxxxx> 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>
Patch applied to wireless-next.git, thanks.
8ab3bf476413 wifi: wlcore: sysfs: constify 'struct bin_attribute'
--
https://patchwork.kernel.org/project/linux-wireless/patch/20241216-sysfs-const-bin_attr-net-v1-3-ec460b91f274@xxxxxxxxxxxxxx/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches