OSDN Git Service

DMA: fix printk warning in AMBA PL08x DMA driver
authorAndre Przywara <andre.przywara@linaro.org>
Wed, 14 Aug 2013 12:52:09 +0000 (14:52 +0200)
committerRob Herring <rob.herring@calxeda.com>
Fri, 23 Aug 2013 01:48:39 +0000 (20:48 -0500)
commitb90ca0636cdf16dfb763f1cd6f3d4bf7ce975fb5
tree404a8184d9a17874607b569b5e408bb000d7cf09
parent1c38b28980f15c5d217d6b36cd8159c2fbdfeb43
DMA: fix printk warning in AMBA PL08x DMA driver

In Rob's recent pull request the patch
ARM: highbank: select ARCH_DMA_ADDR_T_64BIT for LPAE
promotes dma_addr_t to 64bit, so printk generates a warning about
an incorrect type. Fix this by casting it to u64 and using %llx.
Fixing long lines on the way.

Signed-off-by: Andre Przywara <andre.przywara@linaro.org>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
drivers/dma/amba-pl08x.c