[PATCH V2] rpmsg: fix build warning when dma_addr_t is 64-bit

Ohad Ben-Cohen ohad at wizery.com
Sun Mar 4 06:47:16 EST 2012


On Wed, Feb 29, 2012 at 5:41 PM, Mark Asselstine
<mark.asselstine at windriver.com> 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 <mark.asselstine at windriver.com>
> CC: Ohad Ben-Cohen <ohad at wizery.com>
> CC: Arnd Bergmann <arnd at arndb.de>

Thanks, Mark !

I'll send this to Arnd later this week together with the other
remoteproc/rpmsg patches.

Ohad.



More information about the linux-arm-kernel mailing list