summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-designware-core.c
diff options
context:
space:
mode:
authorArvind Yadav2017-05-31 09:15:38 +0200
committerWolfram Sang2017-06-19 16:30:04 +0200
commitf27e7805ba6274dc544a8ad85490160c5b535955 (patch)
tree8527b7159f83af28bf77bbee06fdff16f33b962c /drivers/i2c/busses/i2c-designware-core.c
parenti2c: at91: Handle return value of clk_prepare_enable (diff)
downloadkernel-qcow2-linux-f27e7805ba6274dc544a8ad85490160c5b535955.tar.gz
kernel-qcow2-linux-f27e7805ba6274dc544a8ad85490160c5b535955.tar.xz
kernel-qcow2-linux-f27e7805ba6274dc544a8ad85490160c5b535955.zip
i2c: at91: Fix compilation warning.
Replace '%d' by '%zu' to fix the following type of compilation warnings: drivers/i2c/busses/i2c-at91.c:277:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ [-Wformat=] dev_dbg(dev->dev, "wrote 0x%x, to go %d\n", *dev->buf, dev->buf_len); ^ Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com> Tested-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-designware-core.c')
0 files changed, 0 insertions, 0 deletions