From: Santosh Shilimkar Date: Mon, 30 Sep 2013 18:52:59 +0000 (-0400) Subject: spi: davinci: Fix the build warning with CONFIG_ARM_LPAE=y X-Git-Tag: v3.14-rc1~91^2~4^9~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4ee96e4886768a177e4dc4935ac676513913581;p=pandora-kernel.git spi: davinci: Fix the build warning with CONFIG_ARM_LPAE=y With CONFIG_ARM_LPAE=y spi driver throws below warning drivers/spi/spi-davinci.c: In function ‘davinci_spi_probe’: drivers/spi/spi-davinci.c:965:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘resource_size_t’ [-Wformat] drivers/spi/spi-davinci.c:965:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘resource_size_t’ [-Wformat] Lets use '%pa' to properly print 'resource_size_t' type variables. Signed-off-by: Santosh Shilimkar Signed-off-by: Mark Brown --- Reading git-diff-tree failed