summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/btf_dedup_split.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2021-12-02 15:08:37 -0800
committerAlexei Starovoitov <ast@kernel.org>2021-12-02 15:23:41 -0800
commit080a70b21f476b39ad66524c0ce0729972c61a10 (patch)
treedad6591838a9b35d8414ed4e80d0763b02ff2287 /tools/testing/selftests/bpf/prog_tests/btf_dedup_split.c
parent8b4ff5f8bb126fa8ee6918f4854748277609cf68 (diff)
parentc93faaaf2f67ba5396840316651cdc7640d9fa9e (diff)
Merge branch 'Deprecate bpf_prog_load_xattr() API'
Andrii Nakryiko says: ==================== Few lines in the last patch to mark bpf_prog_load_xattr() deprecated required a decent amount of clean ups in all the other patches. samples/bpf is big part of the clean up. This patch set also bumps libbpf version to 0.7, as libbpf v0.6 release will be cut shortly. ==================== Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/btf_dedup_split.c')
-rw-r--r--tools/testing/selftests/bpf/prog_tests/btf_dedup_split.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/bpf/prog_tests/btf_dedup_split.c b/tools/testing/selftests/bpf/prog_tests/btf_dedup_split.c
index 94ff9757557a..878a864dae3b 100644
--- a/tools/testing/selftests/bpf/prog_tests/btf_dedup_split.c
+++ b/tools/testing/selftests/bpf/prog_tests/btf_dedup_split.c
@@ -364,7 +364,7 @@ static void test_split_dup_struct_in_cu()
"\t'f2' type_id=1 bits_offset=32");
/* ..dedup them... */
- err = btf__dedup(btf1, NULL, NULL);
+ err = btf__dedup(btf1, NULL);
if (!ASSERT_OK(err, "btf_dedup"))
goto cleanup;
@@ -405,7 +405,7 @@ static void test_split_dup_struct_in_cu()
"\t'f1' type_id=4 bits_offset=0\n"
"\t'f2' type_id=4 bits_offset=32");
- err = btf__dedup(btf2, NULL, NULL);
+ err = btf__dedup(btf2, NULL);
if (!ASSERT_OK(err, "btf_dedup"))
goto cleanup;