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
..
accounting
arch
jump_label: move 'asm goto' support test to Kconfig
2019-06-04 08:02:34 +02:00
bpf
tools: bpftool: fix format strings and arguments for jsonw_printf()
2020-01-27 14:51:05 +01:00
build
perf build: Don't unconditionally link the libbfd feature test to -liberty and -lz
2019-02-12 19:47:16 +01:00
cgroup
firewire
gpio
tools: gpio: Correctly add make dependencies for gpio_utils
2019-12-01 09:16:09 +01:00
hv
Tools: hv: kvp: eliminate 'may be used uninitialized' warning
2019-09-10 10:33:50 +01:00
iio
iio: iio-utils: Fix possible incorrect mask calculation
2019-07-31 07:27:02 +02:00
include
tools headers: Fixup bitsperlong per arch includes
2019-10-05 13:09:45 +02:00
kvm /kvm_stat
tools/kvm_stat: fix fields filter for child events
2019-06-19 08:18:05 +02:00
laptop
leds
lib
libtraceevent: Fix lib installation with O=
2020-01-12 12:17:06 +01:00
memory-model
tools/memory-model: Rename litmus tests to comply to norm7
2018-07-17 09:30:36 +02:00
nfsd
objtool
x86/insn: Add some Intel instructions to the opcode map
2019-12-31 16:36:08 +01:00
pci
tools: PCI: Fix broken pcitest compilation
2019-11-24 08:21:08 +01:00
pcmcia
perf
perf map: No need to adjust the long name of modules
2020-01-27 14:49:53 +01:00
power
tools/power/cpupower: Fix initializer override in hsw_ext_cstates
2019-12-31 16:34:52 +01:00
scripts
Kbuild: fix # escaping in .cmd files for future Make
2018-04-11 00:03:02 +09:00
spi
testing
selftests/ipc: Fix msgque compiler warnings
2020-01-27 14:50:40 +01:00
thermal /tmon
tools/thermal: tmon: fix for segfault
2018-03-27 09:51:23 +02:00
time
usb
usbip: tools: fix fd leakage in the function of read_attr_usbip_status
2019-12-01 09:17:40 +01:00
virtio
virtio: fix test build after uio.h change
2019-01-13 09:51:03 +01:00
vm
tools/vm/page-types.c: fix "kpagecount returned fewer pages than expected" failures
2019-12-05 09:20:59 +01:00
wmi
Makefile