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

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

On Wed, Feb 29, 2012 at 5:41 PM, Mark Asselstine
<mark.asselstine@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxx>
> CC: Ohad Ben-Cohen <ohad@xxxxxxxxxx>
> CC: Arnd Bergmann <arnd@xxxxxxxx>

Thanks, Mark !

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

Ohad.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel


[Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [PDAs]     [Linux]     [Linux MIPS]     [Yosemite Campsites]     [Photos]

Add to Google Follow linuxarm on Twitter