]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitf70bf2a3fdc1d8c53d1c3b1d84a72d71a17606a1
tree33c4189dd372acf31b585ca2202cef1f21e56763
parent4cf9cf8967f0316722c6cb4ebf8093b74a8e1dd6
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