Re: [PATCH] of: Constify 'struct bin_attribute'
From: Rob Herring (Arm)
Date: Tue Dec 31 2024 - 08:55:31 EST
On Sun, 22 Dec 2024 21:30:25 +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/of/kobj.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Applied, thanks!