aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/xdp_devmap_attach.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2022-02-02 14:59:13 -0800
committerDaniel Borkmann <[email protected]>2022-02-03 16:32:25 +0100
commita9a8ac592e47ff35363308ad4c66740724132aa3 (patch)
treed7a49a0a49bfe9563cd9df166dee66c47d6e18ff /tools/testing/selftests/bpf/prog_tests/xdp_devmap_attach.c
parent1a56c18e6c2e4e7482ac9e1a4ffe1770841dd6bd (diff)
bpftool: Fix uninit variable compilation warning
Newer GCC complains about capturing the address of unitialized variable. While there is nothing wrong with the code (the variable is filled out by the kernel), initialize the variable anyway to make compiler happy. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Reviewed-by: Quentin Monnet <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/xdp_devmap_attach.c')
0 files changed, 0 insertions, 0 deletions