summaryrefslogtreecommitdiffstats
path: root/tools/bpf
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2020-08-26 21:11:09 -0700
committerAlexei Starovoitov <ast@kernel.org>2020-08-26 22:13:38 -0700
commit2e80be60c465a4f8559327340eaf40845dd7797a (patch)
tree74f743dc3b07ecfd4ddd563b9ebd658d28c603fe /tools/bpf
parentf5493c514cdbcd8c3f9f3ffca4f68b97f122e60a (diff)
downloadlinux-stable-2e80be60c465a4f8559327340eaf40845dd7797a.tar.gz
linux-stable-2e80be60c465a4f8559327340eaf40845dd7797a.tar.bz2
linux-stable-2e80be60c465a4f8559327340eaf40845dd7797a.zip
libbpf: Fix compilation warnings for 64-bit printf args
Fix compilation warnings due to __u64 defined differently as `unsigned long` or `unsigned long long` on different architectures (e.g., ppc64le differs from x86-64). Also cast one argument to size_t to fix printf warning of similar nature. Fixes: eacaaed784e2 ("libbpf: Implement enum value-based CO-RE relocations") Fixes: 50e09460d9f8 ("libbpf: Skip well-known ELF sections when iterating ELF") Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org> Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200827041109.3613090-1-andriin@fb.com
Diffstat (limited to 'tools/bpf')
0 files changed, 0 insertions, 0 deletions