commit | 9d8ae5c22b73852e9b23ba4e520a64c29bbfc939 | [log] [tgz] |
---|---|---|
author | Mark Asselstine <mark.asselstine@windriver.com> | Sun Mar 04 13:33:28 2012 +0200 |
committer | Ohad Ben-Cohen <ohad@wizery.com> | Sun Mar 04 13:43:41 2012 +0200 |
tree | fff5ae1425f1b30ba19ef5ffe3b109af4643cb38 | |
parent | f1d9e9c767f96f57a3cca5304c046f692e115ec9 [diff] |
rpmsg: fix build warning when dma_addr_t is 64-bit 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@windriver.com> CC: Ohad Ben-Cohen <ohad@wizery.com> CC: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>