diff options
author | Carlos Llamas <cmllamas@google.com> | 2021-03-16 04:04:29 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-17 01:01:21 +0300 |
commit | 81f711d67a973bf8a6db9556faf299b4074d536e (patch) | |
tree | 97ca224184c4869c4ae7bbc7fb412096f3f3172d /Documentation/networking/device_drivers | |
parent | 13832ae2755395b2585500c85b64f5109a44227e (diff) | |
download | linux-81f711d67a973bf8a6db9556faf299b4074d536e.tar.xz |
selftests/net: fix warnings on reuseaddr_ports_exhausted
Fix multiple warnings seen with gcc 10.2.1:
reuseaddr_ports_exhausted.c:32:41: warning: missing braces around initializer [-Wmissing-braces]
32 | struct reuse_opts unreusable_opts[12] = {
| ^
33 | {0, 0, 0, 0},
| { } { }
Fixes: 7f204a7de8b0 ("selftests: net: Add SO_REUSEADDR test to check if 4-tuples are fully utilized.")
Signed-off-by: Carlos Llamas <cmllamas@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/device_drivers')
0 files changed, 0 insertions, 0 deletions