Re: [PATCH v2 00/20] powerpc: Define eligible functions as __init

2021-12-26 Thread Michael Ellerman
On Thu, 16 Dec 2021 17:00:15 -0500, Nick Child wrote: > This patchset focuses on redefining/declaring functions that could be > labeled with the macro `__init`. From my understanding, an > initialization function is one which is only needed during the initial > phases of booting, after which it's

Re: [PATCH v2 00/20] powerpc: Define eligible functions as __init

2021-12-23 Thread Michael Ellerman
Christophe Leroy writes: > Le 16/12/2021 à 23:00, Nick Child a écrit : >> >> Changes in v2: >> - add `__init` in prototypes right before the funtion name instead of >> at the end. >> - respond to ./scripts/checkpatch feedback > > You probably missed the following comment from

Re: [PATCH v2 00/20] powerpc: Define eligible functions as __init

2021-12-16 Thread Christophe Leroy
Le 16/12/2021 à 23:00, Nick Child a écrit : > > Changes in v2: > - add `__init` in prototypes right before the funtion name instead of > at the end. > - respond to ./scripts/checkpatch feedback You probably missed the following comment from checkpatch: WARNING: From:/Signed-off-by:

[PATCH v2 00/20] powerpc: Define eligible functions as __init

2021-12-16 Thread Nick Child
Hello all, This patchset focuses on redefining/declaring functions that could be labeled with the macro `__init`. From my understanding, an initialization function is one which is only needed during the initial phases of booting, after which it's resources can be freed. I figure that any