Re: [PATCH -next] i2c: fix i2c-ismt.c printk format warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>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]
>
>Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>Cc:	Bill E. Brown <bill.e.brown@xxxxxxxxx>
>Cc:	Jean Delvare <khali@xxxxxxxxxxxx>
>Cc:	Seth Heasley <seth.heasley@xxxxxxxxx>
>Cc:	Neil Horman <nhorman@xxxxxxxxxxxxx>
>Cc:	Wolfram Sang <w.sang@xxxxxxxxxxxxxx>
>Cc:	linux-i2c@xxxxxxxxxxxxxxx

Acked-by: Neil Horman <nhorman@xxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux