]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: sh_mmcif: Fix compilation warning on 64-bit platforms
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 30 Oct 2013 11:34:52 +0000 (12:34 +0100)
committerChris Ball <cjb@laptop.org>
Thu, 12 Dec 2013 02:20:59 +0000 (21:20 -0500)
commit82793a517714c53e874dd54c94c3965cc118f689
tree0501c007c17fd4abde6a9922b9adacf39df29b6a
parent67e906ca4d734d81cba0423efef8a0a854a43334
mmc: sh_mmcif: Fix compilation warning on 64-bit platforms

Casting an integer to a void * generates a "cast to pointer from integer
of different size" warning. Cast the integer to an unsigned long first
to fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mmcif.c