watchdog: orion_wdt: Use %pa to print 'phys_addr_t'
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 25 Feb 2014 16:17:33 +0000 (13:17 -0300)
committerJason Cooper <jason@lakedaemon.net>
Tue, 25 Feb 2014 19:02:54 +0000 (19:02 +0000)
commitedd9d3cffc90d4ed9b7b9d7d0645bd64a593c1d3
tree07dddb9dd3372dea389943d2462670e2037f9416
parent59416745bb8cbe32daf805f768418353168b0664
watchdog: orion_wdt: Use %pa to print 'phys_addr_t'

When building an ARM multi_v7_defconfig with LPAE option selected we get the
following build warning:

drivers/watchdog/orion_wdt.c:272:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'phys_addr_t' [-Wformat=]

Fix it by using %pa to print 'phys_addr_t'.

Reported-by: Olof's autobuilder <build@lixom.net>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Acked-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/watchdog/orion_wdt.c