i2c: i2c-st: Use %pa to print 'resource_size_t' type
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 10 Jul 2014 23:23:25 +0000 (20:23 -0300)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 1 Aug 2014 17:33:10 +0000 (19:33 +0200)
commit6d9fe5884e8dbf31a550316d924bea8c3ed155cf
tree54d2e15b518f8c94289b7467465e3e92c75273b7
parentb19c1959b09b0ab7f4af6ab99a09e00f9f5672ff
i2c: i2c-st: Use %pa to print 'resource_size_t' type

When building multi_v7_defconfig with CONFIG_ARM_LPAE=y the following warning
is seen:

drivers/i2c/busses/i2c-st.c:818:2: warning: format '%x' expects argument of type
'unsigned int', but argument 4 has type 'resource_size_t' [-Wformat=]

Use %pa to print 'resource_size_t' type to fix the warning.

Reported-by: Olof's autobuilder <build@lixom.net>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-st.c