summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x/hw/debug_hw.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-06-12 13:24:17 +0200
committerThierry Reding <treding@nvidia.com>2014-11-13 16:11:41 +0100
commitba73fbc2ca221e80c6733e68496ad07bc3b58ff8 (patch)
treebf00fd29391c5fb02c6df1fa20d2c25fa8609f67 /drivers/gpu/host1x/hw/debug_hw.c
parent7f27d60b28f6dbc9762407aac596b53f2a71a867 (diff)
downloadlinux-ba73fbc2ca221e80c6733e68496ad07bc3b58ff8.tar.gz
linux-ba73fbc2ca221e80c6733e68496ad07bc3b58ff8.tar.bz2
linux-ba73fbc2ca221e80c6733e68496ad07bc3b58ff8.zip
gpu: host1x: Print address/offset pairs consistently
Consistently use a format of %pad+%#x to print address/offset in debug messages. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/hw/debug_hw.c')
-rw-r--r--drivers/gpu/host1x/hw/debug_hw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/host1x/hw/debug_hw.c b/drivers/gpu/host1x/hw/debug_hw.c
index f72c873eff81..791de9351eeb 100644
--- a/drivers/gpu/host1x/hw/debug_hw.c
+++ b/drivers/gpu/host1x/hw/debug_hw.c
@@ -163,8 +163,8 @@ static void show_channel_gathers(struct output *o, struct host1x_cdma *cdma)
continue;
}
- host1x_debug_output(o, " GATHER at %#llx+%04x, %d words\n",
- (u64)g->base, g->offset, g->words);
+ host1x_debug_output(o, " GATHER at %pad+%#x, %d words\n",
+ &g->base, g->offset, g->words);
show_gather(o, g->base + g->offset, g->words, cdma,
g->base, mapped);