summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2020-08-22 01:55:56 +0300
committerAlexei Starovoitov <ast@kernel.org>2020-08-25 00:48:19 +0300
commit3418c56de81fd73f2265c8915f4b910bcc141cb7 (patch)
tree7fda40b14656a8f540ce6d70c8dfc7b47d6ed9d8 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
parent07ff4f012635b05d344dbf0f2db87ba5e8c4c27a (diff)
downloadlinux-3418c56de81fd73f2265c8915f4b910bcc141cb7.tar.xz
libbpf: Avoid false unuinitialized variable warning in bpf_core_apply_relo
Some versions of GCC report uninitialized targ_spec usage. GCC is wrong, but let's avoid unnecessary warnings. Fixes: ddc7c3042614 ("libbpf: implement BPF CO-RE offset relocation algorithm") Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200821225556.2178419-1-andriin@fb.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions