]> 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)
commitc1de84b97f31cbf92f4ac9980bc727cac99c6bae
treef21966790bed9858ec536873dcb8e52634ba1de3
parent4c76635d0b4ca23aa0b8a78c598687fcc3f7d5c0
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: 0a904d133909 ("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