]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
gpio: gpio-pl061: Use %pa to print 'resource_size_t'
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 26 Feb 2014 11:12:37 +0000 (08:12 -0300)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 7 Mar 2014 01:19:38 +0000 (09:19 +0800)
commit76b3627ea511f73c25c9d9a4c28e4449d72a9b1c
tree48f2f38d1ed956ae2733b0839321602ebb8e4b62
parentc7861f37b4c63b7f45d37b113acabbf352597c46
gpio: gpio-pl061: Use %pa to print 'resource_size_t'

The following build warning is generated when building multi_v7_defconfig with
LPAE option selected:

drivers/gpio/gpio-pl061.c:358:2: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'resource_size_t' [-Wformat=]

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

Reported-by: Olof's autobuilder <build@lixom.net>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pl061.c