projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e5f06b
)
i2c: ismt: Use %pad specifier for dma_addr_t variables
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Fri, 10 Nov 2017 18:33:58 +0000
(20:33 +0200)
committer
Wolfram Sang
<wsa@the-dreams.de>
Sat, 30 Dec 2017 23:19:16 +0000
(
00:19
+0100)
...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>
drivers/i2c/busses/i2c-ismt.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/i2c-ismt.c
b/drivers/i2c/busses/i2c-ismt.c
index
b51adff
..
c0d0f34
100644
(file)
--- 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);