aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2014-07-23 03:31:32 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-28 00:11:28 -0400
commit6861b44aa0403033f6a4af128980e018e78c3fc3 (patch)
tree3e91d8edc64d0745d4cee2bafbadccc326f565bf /tools
parentcbfd7dab2db253b98960208af65b9e3cb734abcd (diff)
selftests/powerpc: Fix parse_proc_maps()
start and end should be unsigned long. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/powerpc/pmu/lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/powerpc/pmu/lib.c b/tools/testing/selftests/powerpc/pmu/lib.c
index 0f6a4731d546..11e26e8cf33a 100644
--- a/tools/testing/selftests/powerpc/pmu/lib.c
+++ b/tools/testing/selftests/powerpc/pmu/lib.c
@@ -177,8 +177,8 @@ struct addr_range libc, vdso;
177 177
178int parse_proc_maps(void) 178int parse_proc_maps(void)
179{ 179{
180 unsigned long start, end;
180 char execute, name[128]; 181 char execute, name[128];
181 uint64_t start, end;
182 FILE *f; 182 FILE *f;
183 int rc; 183 int rc;
184 184