From: Ben Hutchings Date: Sun, 27 Oct 2013 21:53:40 +0000 (+0000) Subject: uio: Pass pointers to virt_to_page(), not integers X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~65^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6418fcc8adaa5c3911295cbe7ddd368b9788616;p=pandora-kernel.git uio: Pass pointers to virt_to_page(), not integers 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed