summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-11-10 19:33:58 +0100
committerWolfram Sang <wsa@the-dreams.de>2017-12-31 00:19:16 +0100
commit017fc4f6f4b7b70e443e7ef673732517ece111c8 (patch)
tree8032a2bd41cf8d08e2032c2dbf7998db18084438 /drivers/i2c/busses
parenti2c: algo-bit: init the bus to a known state (diff)
downloadlinux-017fc4f6f4b7b70e443e7ef673732517ece111c8.tar.xz
linux-017fc4f6f4b7b70e443e7ef673732517ece111c8.zip
i2c: ismt: Use %pad specifier for dma_addr_t variables
...which takes care of proper format and size of the value. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r--drivers/i2c/busses/i2c-ismt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-ismt.c b/drivers/i2c/busses/i2c-ismt.c
index b51adffa4841..c0d0f34d34f3 100644
--- a/drivers/i2c/busses/i2c-ismt.c
+++ b/drivers/i2c/busses/i2c-ismt.c
@@ -572,8 +572,7 @@ static int ismt_access(struct i2c_adapter *adap, u16 addr,
return -EIO;
}
- dev_dbg(dev, " dma_addr = 0x%016llX\n",
- (unsigned long long)dma_addr);
+ dev_dbg(dev, " dma_addr = %pad\n", &dma_addr);
desc->dptr_low = lower_32_bits(dma_addr);
desc->dptr_high = upper_32_bits(dma_addr);