i2c: ismt: Use %pad specifier for dma_addr_t variables
Subsystems (2)
PATCH 1/1 i2c: ismt: Use %pad specifier for dma_addr_t variables
...which takes care of proper format and size of the value.
--- drivers/i2c/busses/i2c-ismt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/i2c/busses/i2c-ismt.c +1 -2
@@ -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);
Signature · 1 line
2.14.2
Quoted 1 line · Andy Shevchenko
...which takes care of proper format and size of the value.
Wolfram, any comment on this?
Quoted 22 lines
Signed-off-by Andy Shevchenko <[email protected]>--- drivers/i2c/busses/i2c-ismt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/i2c/busses/i2c- renamed from drivers/i2c/busses/i2c-ismt.c +0
-0
ismt.c
indexb51adffa4841..c0d0f34d34f3100644drivers/i2c/busses/i2c-ismt.c +1
-2@@ -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);
Signature · 2 lines
Andy Shevchenko <[email protected]> Intel Finland Oy
Wolfram Sang
AppliedQuoted 4 lines · Andy Shevchenko
Quoted 1 line · Andy Shevchenko
...which takes care of proper format and size of the value.
Wolfram, any comment on this?
I was leaving this for the driver maintainers, but well, this is an easy one, so...
Quoted 3 lines
Quoted 3 lines
Signed-off-by Andy Shevchenko <[email protected]>
Applied to for-next, thanks!
Quoted 6 lines · Wolfram Sang
Quoted 4 lines · Andy Shevchenko
Quoted 1 line · Andy Shevchenko
...which takes care of proper format and size of the value.
Wolfram, any comment on this?
Quoted 9 lines
I was leaving this for the driver maintainers, but well, this is an easy one, so...
Quoted 3 lines
Quoted 3 lines
Signed-off-by Andy Shevchenko <[email protected]>Applied to for-next, thanks!
Sorry for the delay, I was on holiday. FWIW
Quoted 3 lines
Sorry for the delay, I was on holiday. FWIW
Acked-by Neil Horman <[email protected]>
Ah, nice you are back, hopefully relaxed ;)
There are two more ismt patches pending:
Could you check them?
Neil Horman
maintainerQuoted 4 lines · Wolfram Sang
Quoted 3 lines
Sorry for the delay, I was on holiday. FWIW
Acked-by Neil Horman <[email protected]>
Quoted 8 lines
Ah, nice you are back, hopefully relaxed ;)
There are two more ismt patches pending:
Could you check them?
will take care of it in the am
Neil