]> Git Repo - linux.git/commit
selftests/bpf: Convert bpf_iter_test_kern{3, 4}.c to define own bpf_iter_meta
authorAndrii Nakryiko <[email protected]>
Tue, 19 May 2020 19:23:41 +0000 (12:23 -0700)
committerAlexei Starovoitov <[email protected]>
Tue, 19 May 2020 21:03:59 +0000 (14:03 -0700)
commitdda18a5c0b75461d1ed228f80b59c67434b8d601
tree38e89495be47e9ab1391cd1c5ffc2e8414aa70f7
parentb9f4c01f3e0b06579a8074dcc8638fae89a1ca67
selftests/bpf: Convert bpf_iter_test_kern{3, 4}.c to define own bpf_iter_meta

b9f4c01f3e0b ("selftest/bpf: Make bpf_iter selftest compilable against old vmlinux.h")
missed the fact that bpf_iter_test_kern{3,4}.c are not just including
bpf_iter_test_kern_common.h and need similar bpf_iter_meta re-definition
explicitly.

Fixes: b9f4c01f3e0b ("selftest/bpf: Make bpf_iter selftest compilable against old vmlinux.h")
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
tools/testing/selftests/bpf/progs/bpf_iter_test_kern3.c
tools/testing/selftests/bpf/progs/bpf_iter_test_kern4.c
This page took 0.054201 seconds and 4 git commands to generate.