Re: [PATCH v2 2/2] module: Increase readability of module_kallsyms_lookup_name()
From: Luis Chamberlain <mcgrof@kernel.org>
Date: 2022-07-01 22:07:18
Also in:
lkml
From: Luis Chamberlain <mcgrof@kernel.org>
Date: 2022-07-01 22:07:18
Also in:
lkml
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 <redacted>
Thanks for this cleanup, holy crap that was gross before, queued up! Luis