kernel-fxtec-pro1x/tools/bpf/bpftool
Quentin Monnet 5fab87c26f tools: bpftool: fix format strings and arguments for jsonw_printf()
[ Upstream commit 22c349e8db89df86804d3ba23cef037ccd44a8bf ]

There are some mismatches between format strings and arguments passed to
jsonw_printf() in the BTF dumper for bpftool, which seems harmless but
may result in warnings if the "__printf()" attribute is used correctly
for jsonw_printf(). Let's fix relevant format strings and type cast.

Fixes: b12d6ec097 ("bpf: btf: add btf print functionality")
Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-27 14:51:05 +01:00
..
bash-completion
Documentation
.gitignore
btf_dumper.c tools: bpftool: fix format strings and arguments for jsonw_printf() 2020-01-27 14:51:05 +01:00
cfg.c
cfg.h
cgroup.c tools: bpftool: use correct argument in cgroup errors 2020-01-27 14:50:58 +01:00
common.c tools: bpftool: pass an argument to silence open_obj_pinned() 2019-12-01 09:17:31 +01:00
jit_disasm.c
json_writer.c
json_writer.h
main.c
main.h tools: bpftool: pass an argument to silence open_obj_pinned() 2019-12-01 09:17:31 +01:00
Makefile
map.c
map_perf_ring.c tools: bpftool: fix arguments for p_err() in do_event_pipe() 2020-01-27 14:51:04 +01:00
perf.c
prog.c
xlated_dumper.c
xlated_dumper.h