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