Messages in this thread | | | Date | Wed, 6 Aug 2014 21:00:55 +0200 | From | Wolfram Sang <> | Subject | Re: [PATCHv2] i2c: i2c-imx: Fix format warning for dev_dbg |
| |
On Wed, Aug 06, 2014 at 11:45:08AM +0800, Xiubo Li wrote: > drivers/i2c/busses/i2c-imx.c: In function i2c_imx_probe() > drivers/i2c/busses/i2c-imx.c:689:2: warning: format 0x%x expects argument > of type unsigned int, but argument 4 has type resource_size_t [-Wformat=] > dev_dbg(&i2c_imx->adapter.dev, "device resources from 0x%x to 0x%x\n", > ^ > drivers/i2c/busses/i2c-imx.c:689:2: warning: format 0x%x expects argument > of type unsigned int, but argument 5 has type resource_size_t [-Wformat=] > > drivers/i2c/busses/i2c-imx.c:691:2: warning: format %d expects argument > of type int, but argument 4 has type resource_size_t [-Wformat=] > dev_dbg(&i2c_imx->adapter.dev, "allocated %d bytes at 0x%x\n", > ^ > drivers/i2c/busses/i2c-imx.c:691:2: warning: format 0x%x expects argument > of type unsigned int, but argument 5 has type resource_size_t [-Wformat=] > > Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Applied to for-next, thanks!
[unhandled content-type:application/pgp-signature] | |