summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHiroshi Doyu <hdoyu@nvidia.com>2013-12-09 13:07:46 +0200
committerHiroshi Doyu <hdoyu@nvidia.com>2013-12-11 14:08:32 -0800
commite8cfbdc1452262691058f57a35c208863fe164a2 (patch)
tree1be5bd03d1e39822b4cf26ac8852523a32d1f6ff /include
parent16028e7c8f23e3d2815d9963bf3fa4c6dfff02bd (diff)
ARM: dma-mapping: Use %pa for {dma,phys}_addr_t
The data size varis depending on LPAE, 32 or 64. Modified to support both without any build warnings. Change-Id: Iacb8cbbffdab9f7148a62315e011c9a3a74d9030 Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com> Reviewed-on: http://git-master/r/339861 Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/trace/events/dmadebug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/trace/events/dmadebug.h b/include/trace/events/dmadebug.h
index 615151434640..0cf45b33ccde 100644
--- a/include/trace/events/dmadebug.h
+++ b/include/trace/events/dmadebug.h
@@ -52,8 +52,8 @@ DECLARE_EVENT_CLASS(dmadebug,
__entry->page = page;
),
- TP_printk("device=%s, addr=0x%08x, size=%d page=%p platformdata=%s",
- dev_name(__entry->dev), __entry->dma_addr,
+ TP_printk("device=%s, addr=%p, size=%d page=%pa platformdata=%s",
+ dev_name(__entry->dev), &__entry->dma_addr,
__entry->size, __entry->page,
debug_dma_platformdata(__entry->dev))
);