]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/bpf: Align kfuncs renamed in bpf tree
authorMykyta Yatsenko <yatsenko@meta.com>
Wed, 5 Nov 2025 13:21:05 +0000 (13:21 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 15 Nov 2025 01:45:43 +0000 (17:45 -0800)
commita4d31f451d5be2a65cfe8459808948071e9b54a0
treef1eb6f0371ddac107243a23d9ea5f82bee59aed6
parente47b68bda4de6a848a8b6c79316542326a8fb3ca
selftests/bpf: Align kfuncs renamed in bpf tree

bpf_task_work_schedule_resume() and bpf_task_work_schedule_signal() have
been renamed in bpf tree to bpf_task_work_schedule_resume_impl() and
bpf_task_work_schedule_signal_impl() accordingly.
There are few uses of these kfuncs in selftests that are not in bpf
tree, so that when we port [1] into bpf-next, those BPF programs will
not compile.
This patch aligns those remaining callsites with the kfunc renaming.
It should go on top of [1] when applying on bpf-next.

1: https://lore.kernel.org/all/20251104-implv2-v3-0-4772b9ae0e06@meta.com/

Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com>
Link: https://lore.kernel.org/r/20251105132105.597344-1-mykyta.yatsenko5@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/file_reader.c
tools/testing/selftests/bpf/progs/verifier_async_cb_context.c