]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Replace all uses of bpf_load_btf() with bpf_btf_load()
authorAndrii Nakryiko <andrii@kernel.org>
Thu, 9 Dec 2021 19:38:37 +0000 (11:38 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 10 Dec 2021 23:29:18 +0000 (15:29 -0800)
commitc0f5a6a5a854cb89b4ee6f1d6d5e79f03831cf38
tree1f2b491be6269223253a58abda09387a07c92a6a
parent90a116c0a7fae836e8413c13877d653951943417
selftests/bpf: Replace all uses of bpf_load_btf() with bpf_btf_load()

Switch all selftests uses of to-be-deprecated bpf_load_btf() with
equivalent bpf_btf_load() calls.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211209193840.1248570-10-andrii@kernel.org
tools/testing/selftests/bpf/map_tests/sk_storage_map.c
tools/testing/selftests/bpf/prog_tests/btf.c
tools/testing/selftests/bpf/test_verifier.c