summaryrefslogtreecommitdiffstats
path: root/firmware/myricom
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2013-10-27 22:53:40 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-30 00:51:57 +0100
commite6418fcc8adaa5c3911295cbe7ddd368b9788616 (patch)
treed50409fad508cefafd39d62fc0b4beb519810bc5 /firmware/myricom
parentuio: fix memory leak (diff)
downloadlinux-e6418fcc8adaa5c3911295cbe7ddd368b9788616.tar.xz
linux-e6418fcc8adaa5c3911295cbe7ddd368b9788616.zip
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 <ben@decadent.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'firmware/myricom')
0 files changed, 0 insertions, 0 deletions