summaryrefslogtreecommitdiff
path: root/include/linux/slab.h
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@axis.com>2015-09-27 20:37:55 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-10-12 23:27:40 -0300
commit186c6cfb32beae66140bc3c3fe4a519ee0234e33 (patch)
treecd7fb3506f8f5ede9f8e791744c213f97cd619ed /include/linux/slab.h
parent8eac1d5e9256260b9cc3bfcdd9b8b995990950f5 (diff)
perf callchains: Fix unw_word_t pointer casts
unw_word_t is uint64_t even on 32-bit MIPS. Cast it to uintptr_t before the cast to void *p to get rid of the following errors: util/unwind-libunwind.c: In function 'access_mem': util/unwind-libunwind.c:464:4: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] util/unwind-libunwind.c:475:2: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] cc1: all warnings being treated as errors make[3]: *** [util/unwind-libunwind.o] Error 1 Signed-off-by: Rabin Vincent <rabin.vincent@axis.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Rabin Vincent <rabinv@axis.com> Link: http://lkml.kernel.org/r/1443379079-29133-1-git-send-email-rabin.vincent@axis.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'include/linux/slab.h')
0 files changed, 0 insertions, 0 deletions