From: Olof Johansson Date: Thu, 12 Sep 2013 04:27:53 +0000 (-0700) Subject: serial: imx: Change cast to handle 64-bit resource_size_t X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~63^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a50c44ce2463c427552bd0dab635d4980ed84131;p=pandora-kernel.git serial: imx: Change cast to handle 64-bit resource_size_t This resolves a warning where resource_size_t is larger than void *: drivers/tty/serial/imx.c:1542:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Since iomem_base is a void *, casting to unsigned long is safe. It's unclear to me that this comparison is truly needed, but it's there on several other drivers as well. Signed-off-by: Olof Johansson Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed