Re: [PATCH RFC v3 4/4] module: refactor ro_after_init failure path

2024-11-09 Thread Christophe Leroy
Le 08/11/2024 à 17:12, Daniel Gomez via B4 Relay a écrit : [Vous ne recevez pas souvent de courriers de devnull+da.gomez.samsung@kernel.org. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ] From: Daniel Gomez When ro_after_init fails, we need to

Re: [PATCH RFC v3 4/4] module: refactor ro_after_init failure path

2024-11-08 Thread Luis Chamberlain
On Fri, Nov 08, 2024 at 05:12:16PM +0100, Daniel Gomez via B4 Relay wrote: > From: Daniel Gomez > > When ro_after_init fails, we need to unload the module. > > Rename the goto tag to fail_ro_after_init to make it more clear and try > to check for dependencies, stop the module and call the exit f

[PATCH RFC v3 4/4] module: refactor ro_after_init failure path

2024-11-08 Thread Daniel Gomez via B4 Relay
From: Daniel Gomez When ro_after_init fails, we need to unload the module. Rename the goto tag to fail_ro_after_init to make it more clear and try to check for dependencies, stop the module and call the exit function. This allows to unload the module if ro_after_init fails. This fixes the follo