diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-07-03 18:56:17 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-07-03 18:56:17 -0400 |
commit | c289b2e0ccff1142908e20398930dc2e14697e74 (patch) | |
tree | 2f1bfe35af6d1d09ba2c7b8d6624125ec12f27c6 /arch/arm/common/dmabounce.c | |
parent | dfa322fceb15227c07670c415e835d2dfa8a4307 (diff) |
ARM: dmabounce: correct unmap_single dev_dbg
DMA addresses should not be casted to void * for printing. Fix
that to be consistent with the rest of the file.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/common/dmabounce.c')
-rw-r--r-- | arch/arm/common/dmabounce.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/common/dmabounce.c b/arch/arm/common/dmabounce.c index b4a8759e0fa4..4f13505ac936 100644 --- a/arch/arm/common/dmabounce.c +++ b/arch/arm/common/dmabounce.c | |||
@@ -345,8 +345,8 @@ void __dma_unmap_page(struct device *dev, dma_addr_t dma_addr, size_t size, | |||
345 | { | 345 | { |
346 | struct safe_buffer *buf; | 346 | struct safe_buffer *buf; |
347 | 347 | ||
348 | dev_dbg(dev, "%s(ptr=%p,size=%d,dir=%x)\n", | 348 | dev_dbg(dev, "%s(dma=%#x,size=%d,dir=%x)\n", |
349 | __func__, (void *) dma_addr, size, dir); | 349 | __func__, dma_addr, size, dir); |
350 | 350 | ||
351 | buf = find_safe_buffer_dev(dev, dma_addr, __func__); | 351 | buf = find_safe_buffer_dev(dev, dma_addr, __func__); |
352 | if (!buf) { | 352 | if (!buf) { |