mfd: gateworks-gsc: Constify static struct attribute_group
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 11 lines · Rikard Falkeborn
The only usage of
attr_groupis to pass its address tosysfs_create_group()andsysfs_remove_group(), both which takes pointers to constattribute_groupstructs. 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 <[email protected]>--- 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?
Signature · 4 lines
Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog
Quoted 9 lines · Lee Jones
Quoted 7 lines · Rikard Falkeborn
The only usage of
attr_groupis to pass its address tosysfs_create_group()andsysfs_remove_group(), both which takes pointers to constattribute_groupstructs. Make it const to allow the compiler to put it in read-only memory.Done with the help of coccinelle.
Quoted 9 lines
Quoted 4 lines
Signed-off-by Rikard Falkeborn <[email protected]>--- 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?
I did not recieve any bounce or rejection emails. I have a vague memory that I saw someone mentioning in another mail that there was some problems with LKML and that patches were lost, but I can't find it now, and I'm not sure if it was around the same time as these patches were sent.
Should I resend the series?
/Rikard
Quoted 20 lines · Rikard Falkeborn
Quoted 9 lines · Lee Jones
Quoted 7 lines · Rikard Falkeborn
The only usage of
attr_groupis to pass its address tosysfs_create_group()andsysfs_remove_group(), both which takes pointers to constattribute_groupstructs. Make it const to allow the compiler to put it in read-only memory.Done with the help of coccinelle.
Quoted 9 lines
Quoted 4 lines
Signed-off-by Rikard Falkeborn <[email protected]>--- 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?
Quoted 7 lines
I did not recieve any bounce or rejection emails. I have a vague memory that I saw someone mentioning in another mail that there was some problems with LKML and that patches were lost, but I can't find it now, and I'm not sure if it was around the same time as these patches were sent.
Should I resend the series?
Please submit a [RESEND].
If it fails again, I'll apply the patches manually.
Signature · 4 lines
Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog