summaryrefslogtreecommitdiff
path: root/tools/testing/selftests
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2014-07-23 07:31:32 (GMT)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-28 04:11:28 (GMT)
commit6861b44aa0403033f6a4af128980e018e78c3fc3 (patch)
tree3e91d8edc64d0745d4cee2bafbadccc326f565bf /tools/testing/selftests
parentcbfd7dab2db253b98960208af65b9e3cb734abcd (diff)
downloadlinux-6861b44aa0403033f6a4af128980e018e78c3fc3.tar.xz
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/testing/selftests')
-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 0f6a473..11e26e8 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;