]> www.infradead.org Git - users/dwmw2/linux.git/commit
selftests/bpf: fix RELEASE=1 compilation for sock_addr.c
authorAndrii Nakryiko <andrii@kernel.org>
Tue, 30 Jul 2024 23:18:05 +0000 (16:18 -0700)
committerMartin KaFai Lau <martin.lau@kernel.org>
Wed, 31 Jul 2024 00:36:51 +0000 (17:36 -0700)
commit92cc2456e9775dc4333fb4aa430763ae4ac2f2d9
tree6c89e221bf11a42878f9ed8f7b3746f765f9171c
parent32654bbd6313b4cfc82297e6634fa9725c3c900f
selftests/bpf: fix RELEASE=1 compilation for sock_addr.c

When building selftests with RELEASE=1 using GCC compiler, it complaints
about uninitialized err. Fix the problem.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20240730231805.1933923-1-andrii@kernel.org
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
tools/testing/selftests/bpf/prog_tests/sock_addr.c