[PATCH V2] rpmsg: fix build warning when dma_addr_t is 64-bit
From: Ohad Ben-Cohen <hidden>
Date: 2012-03-04 11:47:16
From: Ohad Ben-Cohen <hidden>
Date: 2012-03-04 11:47:16
On Wed, Feb 29, 2012 at 5:41 PM, Mark Asselstine [off-list ref] wrote:
dev_dbg() in rpmsg_probe() made use of the %x formatting that expects an 'unsigned int' which dma_addr_t is not in cases where dma_addr_t is 64-bit (CONFIG_ARCH_DMA_ADDR_T_64BIT). Casting to a 'unsigned long long' and using %llx will avoid this. Signed-off-by: Mark Asselstine <redacted> CC: Ohad Ben-Cohen <redacted> CC: Arnd Bergmann <arnd@arndb.de>
Thanks, Mark ! I'll send this to Arnd later this week together with the other remoteproc/rpmsg patches. Ohad.