]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
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)
commit7fe44c4388146bdbb3c5932d81a26d9fa0fd3ec9
tree6a86770f363499c936e6256124cae8f0cb05ae87
parent5ee8dbf54602dc340d6235b1d6aa17c0f283f48c
bpf: drop kthread_exit from noreturn_deny

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