]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mach-omap2: gpmc: Fix warning when CONFIG_ARM_LPAE=y
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 18 Sep 2013 19:01:59 +0000 (12:01 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 18 Sep 2013 19:01:59 +0000 (12:01 -0700)
commit87ff1f1c45aa1482f3dc951f6b1e36927a3a086e
tree33c4189dd372acf31b585ca2202cef1f21e56763
parent89ca1bccd09a44e720fe950ae0aa7f99a56c58d8
ARM: mach-omap2: gpmc: Fix warning when CONFIG_ARM_LPAE=y

When CONFIG_ARM_LPAE=y the following build warning is generated:

arch/arm/mach-omap2/gpmc.c:1495:4: warning: format '%x' expects argument of type 'unsigned int', but argument 4 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>
Acked-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/gpmc.c