summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2014-07-23 09:31:32 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-28 06:11:28 +0200
commit6861b44aa0403033f6a4af128980e018e78c3fc3 (patch)
tree3e91d8edc64d0745d4cee2bafbadccc326f565bf
parentselftests/powerpc: Don't ignore errors from sub Makefiles (diff)
downloadlinux-6861b44aa0403033f6a4af128980e018e78c3fc3.tar.xz
linux-6861b44aa0403033f6a4af128980e018e78c3fc3.zip
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>
-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;
int parse_proc_maps(void)
{
+ unsigned long start, end;
char execute, name[128];
- uint64_t start, end;
FILE *f;
int rc;