summaryrefslogtreecommitdiffstats
path: root/scripts/module.lds.S
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2022-06-13 08:02:02 +0200
committerLuis Chamberlain <mcgrof@kernel.org>2022-07-11 10:49:14 -0700
commit07ade45a765bb7d7571f1a89ab8edfa4ce5e7268 (patch)
treebd526610e891d28401f765b6efac416634c3430d /scripts/module.lds.S
parentecc726f1458e7aa50e120ff334f0a3be5cccd94c (diff)
downloadlinux-07ade45a765bb7d7571f1a89ab8edfa4ce5e7268.tar.gz
linux-07ade45a765bb7d7571f1a89ab8edfa4ce5e7268.tar.bz2
linux-07ade45a765bb7d7571f1a89ab8edfa4ce5e7268.zip
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 'scripts/module.lds.S')
0 files changed, 0 insertions, 0 deletions