[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210301095645.GG641347@dell>
Date: Mon, 1 Mar 2021 09:56:45 +0000
From: Lee Jones <lee.jones@...aro.org>
To: Rikard Falkeborn <rikard.falkeborn@...il.com>
Cc: Robert Jones <rjones@...eworks.com>,
Tim Harvey <tharvey@...eworks.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] mfd: gateworks-gsc: Constify static struct
attribute_group
On Sun, 31 Jan 2021, Rikard Falkeborn wrote:
> The only usage of attr_group is to pass its address to
> sysfs_create_group() and sysfs_remove_group(), both which takes pointers
> to const attribute_group structs. Make it const to allow the compiler to
> put it in read-only memory.
>
> Done with the help of coccinelle.
>
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@...il.com>
> ---
> drivers/mfd/gateworks-gsc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
These patches do not seem to be on LKML.
Do you know if they were rejected for some reason?
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
Powered by blists - more mailing lists