Re: [PATCH v2 2/2] module: Increase readability of module_kallsyms_lookup_name()

From: Luis Chamberlain
Date: Fri Jul 01 2022 - 18:07:18 EST


On Mon, Jun 13, 2022 at 08:02:02AM +0200, Christophe Leroy wrote:
> module_kallsyms_lookup_name() has several exit conditions but
> can't return immediately due to preempt_disable().
>
> Refactor module_kallsyms_lookup_name() to allow returning from
> anywhere, and reduce depth.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@xxxxxxxxxx>

Thanks for this cleanup, holy crap that was gross before, queued up!

Luis