aboutsummaryrefslogtreecommitdiff
path: root/kernel/bpf/stackmap.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2020-08-26 21:11:09 -0700
committerAlexei Starovoitov <[email protected]>2020-08-26 22:13:38 -0700
commit2e80be60c465a4f8559327340eaf40845dd7797a (patch)
tree74f743dc3b07ecfd4ddd563b9ebd658d28c603fe /kernel/bpf/stackmap.c
parentf5493c514cdbcd8c3f9f3ffca4f68b97f122e60a (diff)
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 <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions