On 1/22/22 12:09 PM, Julia Lawall wrote:
From: kernel test robot <lkp@xxxxxxxxx> 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@xxxxxxxxx> Signed-off-by: kernel test robot <lkp@xxxxxxxxx> Signed-off-by: Julia Lawall <julia.lawall@xxxxxxxx> CC: Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx>
Applied, thanks!