commit | e1e78533f2ddeabef5dc6545739211795ac4b822 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <ben@decadent.org.uk> | Sun Oct 27 21:52:39 2013 +0000 |
committer | Dave Airlie <airlied@redhat.com> | Wed Nov 06 13:23:20 2013 +1000 |
tree | 42059a1288bbdc043da8674e285d25bcb1f3873c | |
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>