diff options
| author | Andrii Nakryiko <[email protected]> | 2022-02-09 06:39:09 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2022-02-09 13:33:32 +0000 |
| commit | dc37dc617fabfb1c3a16d49f5d8cc20e9e3608ca (patch) | |
| tree | b8fbaa3d9c5b09410d7e71d3ca35d848051096c3 /net/switchdev/switchdev.c | |
| parent | Merge branch 'libbpf: Add syscall-specific variant of BPF_KPROBE' (diff) | |
| download | kernel-dc37dc617fabfb1c3a16d49f5d8cc20e9e3608ca.tar.gz kernel-dc37dc617fabfb1c3a16d49f5d8cc20e9e3608ca.zip | |
libbpf: Fix compilation warning due to mismatched printf format
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
