Blame SOURCES/0001-fix-i686-compilation.patch

271209
From 31bf12c3bbe6ef6b32b9553db723bf3156ef1099 Mon Sep 17 00:00:00 2001
271209
From: Jiri Olsa <jolsa@kernel.org>
271209
Date: Sat, 14 Dec 2019 15:57:41 +0100
271209
Subject: [PATCH] fix i686 compilation
271209
271209
---
271209
 tools/lib/bpf/libbpf.c | 2 +-
271209
 1 file changed, 1 insertion(+), 1 deletion(-)
271209
271209
diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c
271209
index bcd5631a4fed..4bb6ebfecb20 100644
271209
--- a/tools/lib/bpf/libbpf.c
271209
+++ b/tools/lib/bpf/libbpf.c
271209
@@ -1790,7 +1790,7 @@ static int bpf_program__record_reloc(struct bpf_program *prog,
271209
 			return -LIBBPF_ERRNO__RELOC;
271209
 		}
271209
 		if (sym->st_value % 8) {
271209
-			pr_warn("bad call relo offset: %lu\n", sym->st_value);
271209
+			pr_warn("bad call relo offset: %zu\n", (size_t) sym->st_value);
271209
 			return -LIBBPF_ERRNO__RELOC;
271209
 		}
271209
 		reloc_desc->type = RELO_CALL;
271209
-- 
271209
2.21.1
271209