Thread (4 messages) 4 messages, 3 authors, 2012-03-04
DORMANTno replies

[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

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help