]> git.karo-electronics.de Git - karo-tx-linux.git/commit
spi: s3c64xx: fix printk warnings
authorJingoo Han <jg1.han@samsung.com>
Mon, 15 Jul 2013 23:53:33 +0000 (08:53 +0900)
committerMark Brown <broonie@linaro.org>
Tue, 16 Jul 2013 10:35:51 +0000 (11:35 +0100)
commit044e494a9b17c7b88646fc71d628f77b07c7987c
tree34b84557455f57a074e24a8f369ae0d20a7b78f0
parent359b9ab7b025f1e9b2603114be06e6e29016a78a
spi: s3c64xx: fix printk warnings

Fix the following build warnings when LPAE is enabled:

drivers/spi/spi-s3c64xx.c:1466:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type
'resource_size_t' [-Wformat]
drivers/spi/spi-s3c64xx.c:1466:2: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type
'resource_size_t' [-Wformat]

Use vsprintf extension %pR to format resource.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-s3c64xx.c