diff options
author | Andrii Nakryiko <andriin@fb.com> | 2020-09-29 15:06:02 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-09-29 17:05:31 -0700 |
commit | 33433913459a6bfbfa808c202d6f5490aa43d7a7 (patch) | |
tree | 0515bfeedca7be6f4ddeef1b0de9f59a4bf4421f /tools/testing/selftests/bpf/prog_tests/global_data_init.c | |
parent | 67e4ca74953ea27e2c0dac6907fb4271bd6d5d87 (diff) |
libbpf: Fix uninitialized variable in btf_parse_type_sec
Fix obvious unitialized variable use that wasn't reported by compiler. libbpf
Makefile changes to catch such errors are added separately.
Fixes: 3289959b97ca ("libbpf: Support BTF loading and raw data output in both endianness")
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20200929220604.833631-1-andriin@fb.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/global_data_init.c')
0 files changed, 0 insertions, 0 deletions