diff options
| author | kernel test robot <lkp@intel.com> | 2022-01-22 12:09:44 +0100 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-01-24 17:11:39 +0100 |
| commit | ed8bb03222c965290026c8ead5a902f4140f5440 (patch) | |
| tree | 4563f5479d7855233a11515ee8f11ac1dcb98664 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | Merge branch 'mvneta: introduce XDP multi-buffer support' (diff) | |
| download | linux-ed8bb03222c965290026c8ead5a902f4140f5440.tar.gz linux-ed8bb03222c965290026c8ead5a902f4140f5440.zip | |
bpf: Fix flexible_array.cocci warnings
Zero-length and one-element arrays are deprecated, see:
Documentation/process/deprecated.rst
Flexible-array members should be used instead.
Generated by: scripts/coccinelle/misc/flexible_array.cocci
Fixes: c1ff181ffabc ("selftests/bpf: Extend kfunc selftests")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@inria.fr>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/bpf/alpine.DEB.2.22.394.2201221206320.12220@hadrien
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions
