]> git.baikalelectronics.ru Git - kernel.git/commit
tools/bpf: fix test_btf for typedef func_proto case
authorYonghong Song <yhs@fb.com>
Wed, 30 Jan 2019 00:38:17 +0000 (16:38 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 30 Jan 2019 03:15:32 +0000 (19:15 -0800)
commit9b832ee46515487aeb551f870919627fd1a4ecc4
treef21966790bed9858ec536873dcb8e52634ba1de3
parent44f3f8cd23c46fc7f8eb3ed455dd393044f32c1d
tools/bpf: fix test_btf for typedef func_proto case

Fixed one test_btf raw test such that typedef func_proto
is permitted now.

Fixes: 2696b6259712 ("tools/bpf: Add tests for BTF_KIND_FUNC_PROTO and BTF_KIND_FUNC")
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/test_btf.c