Re: [PATCH v2] powerpc: declare unmodified attribute_group usages const

2022-03-05 Thread Michael Ellerman
Christophe Leroy writes: > Le 04/03/2022 à 01:21, Rohan McLure a écrit : >> Inspired by (bd75b4ef4977: Constify static attribute_group structs), >> accepted by linux-next, reported: >> https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20220210202805.7750-4-rikard.falkeb...@gmail.com/ >> >>

Re: [PATCH v2] powerpc: declare unmodified attribute_group usages const

2022-03-04 Thread Christophe Leroy
Le 04/03/2022 à 01:21, Rohan McLure a écrit : > Inspired by (bd75b4ef4977: Constify static attribute_group structs), > accepted by linux-next, reported: > https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20220210202805.7750-4-rikard.falkeb...@gmail.com/ > > Nearly all singletons of type

[PATCH v2] powerpc: declare unmodified attribute_group usages const

2022-03-03 Thread Rohan McLure
Inspired by (bd75b4ef4977: Constify static attribute_group structs), accepted by linux-next, reported: https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20220210202805.7750-4-rikard.falkeb...@gmail.com/ Nearly all singletons of type struct attribute_group are never modified, and so are