Re: [PATCH bpf] libbpf: silence uninitialized warning/error in btf_dump_dump_type_data
From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-11-29 17:42:12
Also in:
netdev
From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-11-29 17:42:12
Also in:
netdev
Hello: This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko [off-list ref]: On Mon, 29 Nov 2021 10:00:40 +0000 you wrote:
When compiling libbpf with gcc 4.8.5, we see:
CC staticobjs/btf_dump.o
btf_dump.c: In function ‘btf_dump_dump_type_data.isra.24’:
btf_dump.c:2296:5: error: ‘err’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
if (err < 0)
^
cc1: all warnings being treated as errors
make: *** [staticobjs/btf_dump.o] Error 1
[...]
Here is the summary with links:
- [bpf] libbpf: silence uninitialized warning/error in btf_dump_dump_type_data
https://git.kernel.org/bpf/bpf-next/c/43174f0d4597
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html