From: Mark Brown Date: Fri, 1 Aug 2014 16:43:03 +0000 (+0100) Subject: spi/atmel: Fix pointer to int conversion warnings on 64 bit builds X-Git-Tag: omap-for-v3.17/fixes-against-rc2~157^2~3^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67f08d690aa90e47a0e793fc63e2ecbe95d29839;p=pandora-kernel.git spi/atmel: Fix pointer to int conversion warnings on 64 bit builds On 64 bit systems integers are generally still 32 bit but long values and pointers are usually 64 bit. GCC warns when casting a 64 bit pointer into a 32 bit integer so cast to a long instead in order to avoid warnings. Signed-off-by: Mark Brown --- Reading git-diff-tree failed