aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPalmer Dabbelt <[email protected]>2020-04-06 20:08:00 -0700
committerLinus Torvalds <[email protected]>2020-04-07 10:43:41 -0700
commit4708f31885a0d3e41a03c39501df697e73406f6a (patch)
tree0c2b85f3516c7054cea900eb7755f7a30f741344 /tools/perf/scripts/python/export-to-sqlite.py
parent71725ed10c40696dc6bdccf8e225815dcef24dba (diff)
mm: prevent a warning when casting void* -> enum
I recently build the RISC-V port with LLVM trunk, which has introduced a new warning when casting from a pointer to an enum of a smaller size. This patch simply casts to a long in the middle to stop the warning. I'd be surprised this is the only one in the kernel, but it's the only one I saw. Signed-off-by: Palmer Dabbelt <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions