diff options
author | 2020-08-19 23:14:10 -0700 | |
---|---|---|
committer | 2020-08-20 16:45:09 +0200 | |
commit | 37a6a9e7676381cdf6868d2c013893074a1ee7b6 (patch) | |
tree | 469cc9c331f4ced836bdb6cffc77198350ce5776 /net/core/sock_map.c | |
parent | libbpf: Fix libbpf build on compilers missing __builtin_mul_overflow (diff) | |
download | wireguard-linux-37a6a9e7676381cdf6868d2c013893074a1ee7b6.tar.xz wireguard-linux-37a6a9e7676381cdf6868d2c013893074a1ee7b6.zip |
selftests/bpf: Fix two minor compilation warnings reported by GCC 4.9
GCC 4.9 seems to be more strict in some regards. Fix two minor issue it
reported.
Fixes: 1c1052e0140a ("tools/testing/selftests/bpf: Add self-tests for new helper bpf_get_ns_current_pid_tgid.")
Fixes: 2d7824ffd25c ("selftests: bpf: Add test for sk_assign")
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20200820061411.1755905-3-andriin@fb.com
Diffstat (limited to 'net/core/sock_map.c')
0 files changed, 0 insertions, 0 deletions