summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/test_doc_build.sh
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2021-06-04 13:24:48 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2021-06-08 22:02:10 +0200
commitedc0571c5f67c7e24958149a8ec6a904ca84840b (patch)
tree5ea81c272d5e1dfed8d5708785be171bc4975ed5 /tools/testing/selftests/bpf/test_doc_build.sh
parent0779890fed7817725f399d6ec85730e08ebfdeee (diff)
libbpf: Fix pr_warn type warnings on 32bit
The printed value is ptrdiff_t and is formatted wiht %ld. This works on 64bit but produces a warning on 32bit. Fix the format specifier to %td. Fixes: 67234743736a ("libbpf: Generate loader program out of BPF ELF file.") Signed-off-by: Michal Suchanek <msuchanek@suse.de> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/20210604112448.32297-1-msuchanek@suse.de
Diffstat (limited to 'tools/testing/selftests/bpf/test_doc_build.sh')
0 files changed, 0 insertions, 0 deletions