]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Use the 25th bit in the "invalid BTF_INFO" test
authorIlya Leoshkevich <iii@linux.ibm.com>
Fri, 26 Feb 2021 20:22:51 +0000 (21:22 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 5 Mar 2021 01:58:15 +0000 (17:58 -0800)
commit5c9588dc0e483c3901a42ce9c6b746ec2338df44
tree1a70b2272944565635d54218ce72d7594f52867d
parentfd876c2f24cc256e2ec7c57d4e28c1e353db9b0a
selftests/bpf: Use the 25th bit in the "invalid BTF_INFO" test

The bit being checked by this test is no longer reserved after
introducing BTF_KIND_FLOAT, so use the next one instead.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20210226202256.116518-6-iii@linux.ibm.com
tools/testing/selftests/bpf/prog_tests/btf.c