aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-11-18 10:09:55 +1000
committerDave Airlie <airlied@redhat.com>2009-11-18 10:09:55 +1000
commit46557bef3f3834ac33031c7be27d39d90d507442 (patch)
tree5cfc4a9e1263fe0a15e516ca9695ee2f9b8899e4 /lib/dma-debug.c
parentdrm: when queuing an event with NEXTONMISS, return queued sequence to userspace (diff)
parentdrm/kms: add page flipping ioctl (diff)
downloadlinux-dev-46557bef3f3834ac33031c7be27d39d90d507442.tar.xz
linux-dev-46557bef3f3834ac33031c7be27d39d90d507442.zip
Merge branch 'drm-core-next' of ../linux-2.6 into drm-next
Diffstat (limited to 'lib/dma-debug.c')
-rw-r--r--lib/dma-debug.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/dma-debug.c b/lib/dma-debug.c
index 58a9f9fc609a..ce6b7eabf674 100644
--- a/lib/dma-debug.c
+++ b/lib/dma-debug.c
@@ -819,9 +819,11 @@ static void check_unmap(struct dma_debug_entry *ref)
err_printk(ref->dev, entry, "DMA-API: device driver frees "
"DMA memory with different CPU address "
"[device address=0x%016llx] [size=%llu bytes] "
- "[cpu alloc address=%p] [cpu free address=%p]",
+ "[cpu alloc address=0x%016llx] "
+ "[cpu free address=0x%016llx]",
ref->dev_addr, ref->size,
- (void *)entry->paddr, (void *)ref->paddr);
+ (unsigned long long)entry->paddr,
+ (unsigned long long)ref->paddr);
}
if (ref->sg_call_ents && ref->type == dma_debug_sg &&