diff options
author | 2023-12-16 21:10:52 +0800 | |
---|---|---|
committer | 2023-12-20 13:25:46 -0800 | |
commit | 69ff403d87be4812571c54b1159e24998414bcab (patch) | |
tree | 40e8e9008dc0f3a7b2eca992662d5266e13b28d8 /net/core/dev.c | |
parent | bpf: Use c->unit_size to select target cache during free (diff) | |
download | linux-rng-69ff403d87be4812571c54b1159e24998414bcab.tar.xz linux-rng-69ff403d87be4812571c54b1159e24998414bcab.zip |
selftests/bpf: Remove tests for zeroed-array kptr
bpf_mem_alloc() doesn't support zero-sized allocation, so removing these
tests from test_bpf_ma test. After the removal, there will no definition
for bin_data_8, so remove 8 from data_sizes array and adjust the index
of data_btf_ids array in all test cases accordingly.
Signed-off-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/20231216131052.27621-3-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions