Fix few unrelated issues, found by static analysis tools (performed against libbpf's Github repo). Also fix compilation warning in bpftool polluting selftests Makefile output. Andrii Nakryiko (4): libbpf: fix error handling bug in btf_dump__new libbpf: simplify BTF initialization logic libbpf: fix potential multiplication overflow in mmap() size calculation bpftool: avoid const discard compilation warning tools/bpf/bpftool/jit_disasm.c | 2 +- tools/lib/bpf/btf_dump.c | 1 + tools/lib/bpf/libbpf.c | 21 +++++++-------------- 3 files changed, 9 insertions(+), 15 deletions(-) -- 2.17.1