drm: Pass pointers to virt_to_page()
authorBen Hutchings <ben@decadent.org.uk>
Sun, 27 Oct 2013 21:52:39 +0000 (21:52 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Nov 2013 03:23:20 +0000 (13:23 +1000)
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>

No differences found