Skip to contentSkip to conversation

i2c: fix i2c-ismt.c printk format warning

PATCH Neil Horman 1 participant 1 message Feb 15, 2013 I2C subsystem host drivers

lore
Share & tools
lore

Neil Horman

author Acked-by
#0 lore raw
Quoted 7 lines

Fix printk format warning. dma_addr_t can be 32-bit or 64-bit, so cast it to long long for printing. This also matches the printk format specifier that is already used.

drivers/i2c/busses/i2c-ismt.c:532:3: warning: format '%llX' expects argument of type \
'long long unsigned int', but argument 4 has type 'dma_addr_t' [-Wformat]

Quoted 7 lines
Cc Bill E. Brown <[email protected]>
Cc Jean Delvare <[email protected]>
Cc Seth Heasley <[email protected]>
Cc Neil Horman <[email protected]>
Cc Wolfram Sang <[email protected]>