projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfa322f
)
ARM: dmabounce: correct unmap_single dev_dbg
author
Russell King
<rmk+kernel@arm.linux.org.uk>
Sun, 3 Jul 2011 22:56:17 +0000
(23:56 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sun, 3 Jul 2011 22:56:17 +0000
(23:56 +0100)
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>
arch/arm/common/dmabounce.c
patch
|
blob
|
history
diff --git
a/arch/arm/common/dmabounce.c
b/arch/arm/common/dmabounce.c
index b4a8759e0fa4213576ebabf633dbd2329d33dd14..4f13505ac936a1ce0a96990eaac1a2727511bab1 100644
(file)
--- 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,
{
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) {