diff options
author | 2013-10-27 21:52:39 +0000 | |
---|---|---|
committer | 2013-11-06 13:23:20 +1000 | |
commit | e1e78533f2ddeabef5dc6545739211795ac4b822 (patch) | |
tree | 42059a1288bbdc043da8674e285d25bcb1f3873c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm: Do not include page offset in argument to virt_to_page() (diff) | |
download | linux-dev-e1e78533f2ddeabef5dc6545739211795ac4b822.tar.xz linux-dev-e1e78533f2ddeabef5dc6545739211795ac4b822.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions