aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2015-09-08 14:58:25 -0700
committerLinus Torvalds <[email protected]>2015-09-08 15:35:28 -0700
commitaf8713b701a74c3784ce6683f64f474a94b1b643 (patch)
tree7ee373a83d59a276797c31ad63876208a624c5ea /tools/perf/scripts/python/net_dropmonitor.py
parent61e57c0c3a37539e13af03ce68598034d37c7256 (diff)
selftests/userfaultfd: fix compiler warnings on 32-bit
On 32-bit: userfaultfd.c: In function 'locking_thread': userfaultfd.c:152: warning: left shift count >= width of type userfaultfd.c: In function 'uffd_poll_thread': userfaultfd.c:295: warning: cast to pointer from integer of different size userfaultfd.c: In function 'uffd_read_thread': userfaultfd.c:332: warning: cast to pointer from integer of different size Fix the shift warning by splitting the shift in two parts, and the integer/pointer warnigns by adding intermediate casts to "unsigned long". Signed-off-by: Geert Uytterhoeven <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions