]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bpf: selftests: Use C99 initializers in test_sock.c
authorMenglong Dong <imagedong@tencent.com>
Thu, 6 Jan 2022 13:20:21 +0000 (21:20 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 7 Jan 2022 01:08:35 +0000 (17:08 -0800)
commit6fd92c7f0c3846340fee20f62dacb17d0a15c0d3
treefeba5644dfc59554943b5adee8aef5e95ff13358
parent91a760b26926265a60c77ddf016529bcf3e17a04
bpf: selftests: Use C99 initializers in test_sock.c

Use C99 initializers for the initialization of 'tests' in test_sock.c.

Signed-off-by: Menglong Dong <imagedong@tencent.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220106132022.3470772-3-imagedong@tencent.com
tools/testing/selftests/bpf/test_sock.c