Re: [PATCH 4/5] s390/sclp: Constify 'struct bin_attribute'
From: Alexander Gordeev
Date: Fri Jan 03 2025 - 09:13:37 EST
On Wed, Dec 11, 2024 at 06:54:42PM +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>
> ---
> drivers/s390/char/sclp_config.c | 4 ++--
> drivers/s390/char/sclp_sd.c | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
Acked-by: Alexander Gordeev <agordeev@xxxxxxxxxxxxx>