Commit c289b2e0 authored by Russell King's avatar Russell King

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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent dfa322fc
...@@ -345,8 +345,8 @@ void __dma_unmap_page(struct device *dev, dma_addr_t dma_addr, size_t size, ...@@ -345,8 +345,8 @@ void __dma_unmap_page(struct device *dev, dma_addr_t dma_addr, size_t size,
{ {
struct safe_buffer *buf; struct safe_buffer *buf;
dev_dbg(dev, "%s(ptr=%p,size=%d,dir=%x)\n", dev_dbg(dev, "%s(dma=%#x,size=%d,dir=%x)\n",
__func__, (void *) dma_addr, size, dir); __func__, dma_addr, size, dir);
buf = find_safe_buffer_dev(dev, dma_addr, __func__); buf = find_safe_buffer_dev(dev, dma_addr, __func__);
if (!buf) { if (!buf) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment