Messages in this thread | | | Date | Mon, 1 Mar 2021 09:56:45 +0000 | From | Lee Jones <> | 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@gmail.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
| |