]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Convert bpf_iter_test_kern{3, 4}.c to define own bpf_iter_meta
authorAndrii Nakryiko <andriin@fb.com>
Tue, 19 May 2020 19:23:41 +0000 (12:23 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 19 May 2020 21:03:59 +0000 (14:03 -0700)
commitd8577ebeebf6e5f386d873d2d2c65f6f8c4307fd
tree38e89495be47e9ab1391cd1c5ffc2e8414aa70f7
parent031800d17a56cda60f189fa1571461e21267428c
selftests/bpf: Convert bpf_iter_test_kern{3, 4}.c to define own bpf_iter_meta

031800d17a56 ("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: 031800d17a56 ("selftest/bpf: Make bpf_iter selftest compilable against old vmlinux.h")
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200519192341.134360-1-andriin@fb.com
tools/testing/selftests/bpf/progs/bpf_iter_test_kern3.c
tools/testing/selftests/bpf/progs/bpf_iter_test_kern4.c