]> git.baikalelectronics.ru Git - kernel.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)
commit03d0e85c8a18765f96e8958c4882d9040a8f8b8b
treefeba5644dfc59554943b5adee8aef5e95ff13358
parent2bb22fb4282c7853d0a98b7d13672c518a657cc5
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