Files
android_kernel_xiaomi_sm8450/tools/testing/selftests/bpf
Martin KaFai Lau b9308ae696 bpf: btf: Check array t->size
This patch ensures array's t->size is 0.

The array size is decided by its individual elem's size and the
number of elements.  Hence, t->size is not used and
it must be 0.

A test case is added to test_btf.c

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2018-06-02 11:22:36 -07:00
..
2018-05-14 19:11:45 -07:00
2018-01-25 16:41:15 -08:00
2018-01-25 16:41:15 -08:00
2018-04-19 21:47:42 +02:00
2018-04-19 21:47:42 +02:00
2018-06-02 11:22:36 -07:00
2018-01-25 16:41:15 -08:00
2018-04-27 00:11:14 +02:00