]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
kcsan: Remove redundant call of kallsyms_lookup_name()
authorRan Xiaokai <ran.xiaokai@zte.com.cn>
Wed, 25 Sep 2024 14:31:51 +0000 (14:31 +0000)
committerMarco Elver <elver@google.com>
Mon, 14 Oct 2024 14:44:56 +0000 (16:44 +0200)
commitb86f7c9fad06b960f3ac5594cb3838a7eaeb1892
tree61c69b5d88428c43135de9362741c6819753cec1
parent59458fa4ddb47e7891c61b4a928d13d5f5b00aa0
kcsan: Remove redundant call of kallsyms_lookup_name()

There is no need to repeatedly call kallsyms_lookup_name, we can reuse
the return value of this function.

Signed-off-by: Ran Xiaokai <ran.xiaokai@zte.com.cn>
Signed-off-by: Marco Elver <elver@google.com>
kernel/kcsan/debugfs.c