aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
diff options
context:
space:
mode:
authorStanislav Fomichev <[email protected]>2020-10-01 22:54:40 +0000
committerDaniel Borkmann <[email protected]>2020-10-02 14:46:20 +0000
commitcffcdbff70a3cf3cc4f42fa2e57012411b1c78a6 (patch)
tree0c6256181c0880378d85ceed7f1f86570d29d2ef /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
parentlib8390: Use netif_msg_init to initialize msg_enable bits (diff)
downloadkernel-cffcdbff70a3cf3cc4f42fa2e57012411b1c78a6.tar.gz
kernel-cffcdbff70a3cf3cc4f42fa2e57012411b1c78a6.zip
selftests/bpf: Initialize duration in xdp_noinline.c
Fixes clang error: tools/testing/selftests/bpf/prog_tests/xdp_noinline.c:35:6: error: variable 'duration' is uninitialized when used here [-Werror,-Wuninitialized] if (CHECK(!skel, "skel_open_and_load", "failed\n")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Stanislav Fomichev <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions