diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2013-10-27 21:52:39 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-11-06 13:23:20 +1000 |
commit | e1e78533f2ddeabef5dc6545739211795ac4b822 (patch) | |
tree | 42059a1288bbdc043da8674e285d25bcb1f3873c /tools/perf/scripts/python/check-perf-trace.py | |
parent | bc212b9cf808add5b1e7a6913b10b1802c270c3c (diff) |
drm: Pass pointers to virt_to_page()
Most architectures define virt_to_page() as a macro that casts its
argument such that an argument of type unsigned long will be accepted
without complaint. However, the proper type is void *, and passing
unsigned long results in a warning on MIPS.
Compile-tested only.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions