Skip to content

Commit

Permalink
ARM: dmabounce: correct unmap_single dev_dbg
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King committed Jul 3, 2011
1 parent dfa322f commit c289b2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm/common/dmabounce.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,8 @@ void __dma_unmap_page(struct device *dev, dma_addr_t dma_addr, size_t size,
{
struct safe_buffer *buf;

dev_dbg(dev, "%s(ptr=%p,size=%d,dir=%x)\n",
__func__, (void *) dma_addr, size, dir);
dev_dbg(dev, "%s(dma=%#x,size=%d,dir=%x)\n",
__func__, dma_addr, size, dir);

buf = find_safe_buffer_dev(dev, dma_addr, __func__);
if (!buf) {
Expand Down

0 comments on commit c289b2e

Please sign in to comment.