]> git.baikalelectronics.ru Git - kernel.git/commit
spi: spi-pl022: Fix warning when CONFIG_ARM_LPAE=y
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 22 Aug 2013 00:35:37 +0000 (21:35 -0300)
committerMark Brown <broonie@linaro.org>
Thu, 22 Aug 2013 09:46:54 +0000 (10:46 +0100)
commite6c59fec2354f6647e5e554df13245fd4458c23c
tree97f33bad66b4160a713b6fa256b9b3c73d9d750f
parent7389eb40d97a7be49653b327fc3faf73333a31e2
spi: spi-pl022: Fix warning when CONFIG_ARM_LPAE=y

When CONFIG_ARM_LPAE=y the following build warning is generated:

drivers/spi/spi-pl022.c:2178:9: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'resource_size_t' [-Wformat]

According to Documentation/printk-formats.txt '%pa' can be used to properly
print 'resource_size_t'.

Reported-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-pl022.c