diff options
author | Christophe Leroy | 2022-06-13 08:02:02 +0200 |
---|---|---|
committer | Luis Chamberlain | 2022-07-11 10:49:14 -0700 |
commit | 07ade45a765bb7d7571f1a89ab8edfa4ce5e7268 (patch) | |
tree | bd526610e891d28401f765b6efac416634c3430d /lib/ref_tracker.c | |
parent | ecc726f1458e7aa50e120ff334f0a3be5cccd94c (diff) |
module: Increase readability of module_kallsyms_lookup_name()
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@csgroup.eu>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'lib/ref_tracker.c')
0 files changed, 0 insertions, 0 deletions