]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
bpf: drop kthread_exit from noreturn_deny
authorChristian Loehle <christian.loehle@arm.com>
Fri, 6 Mar 2026 10:49:18 +0000 (10:49 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Mar 2026 16:25:54 +0000 (08:25 -0800)
kthread_exit became a macro to do_exit in commit 28aaa9c39945
("kthread: consolidate kthread exit paths to prevent use-after-free"),
so there is no kthread_exit function BTF ID to resolve. Remove it from
noreturn_deny to avoid resolve_btfids unresolved symbol warnings.

Signed-off-by: Christian Loehle <christian.loehle@arm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/bpf/verifier.c

index 401d6c4960eccfa90893660b7d8aece859787f7f..8db79e5931569af979ec196256f6185a2c280f00 100644 (file)
@@ -25261,7 +25261,6 @@ BTF_ID(func, __x64_sys_exit_group)
 BTF_ID(func, do_exit)
 BTF_ID(func, do_group_exit)
 BTF_ID(func, kthread_complete_and_exit)
-BTF_ID(func, kthread_exit)
 BTF_ID(func, make_task_dead)
 BTF_SET_END(noreturn_deny)