diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2022-02-09 09:39:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-08 15:23:30 +0300 |
commit | 2f0949db6e2ce224a876637ad33746933655b477 (patch) | |
tree | 33636acb1341f7d8e054b9ae70d4ced67fb7f25b /tools/perf/builtin-c2c.c | |
parent | 0255e93dce7acce5875fc3d0d34e4243de1e3a9b (diff) | |
download | linux-2f0949db6e2ce224a876637ad33746933655b477.tar.xz |
libbpf: Fix compilation warning due to mismatched printf format
[ Upstream commit dc37dc617fabfb1c3a16d49f5d8cc20e9e3608ca ]
On ppc64le architecture __s64 is long int and requires %ld. Cast to
ssize_t and use %zd to avoid architecture-specific specifiers.
Fixes: 4172843ed4a3 ("libbpf: Fix signedness bug in btf_dump_array_data()")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220209063909.1268319-1-andrii@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/builtin-c2c.c')
0 files changed, 0 insertions, 0 deletions