summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/armada/armada_gem.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2013-11-27 15:46:55 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-12-10 20:25:15 +0000
commit7513e09596374bb7fbbecfee945fecb5b357c0e9 (patch)
tree2ab38c249532abdf21a3b082b343bbb233398ed7 /drivers/gpu/drm/armada/armada_gem.c
parent077acbab67a785b5f5ae60e8932fcf6028072359 (diff)
downloadlinux-7513e09596374bb7fbbecfee945fecb5b357c0e9.tar.gz
linux-7513e09596374bb7fbbecfee945fecb5b357c0e9.tar.bz2
linux-7513e09596374bb7fbbecfee945fecb5b357c0e9.zip
DRM: Armada: fix printing of phys_addr_t/dma_addr_t
These can be 64-bit quantities, so fix them up appropriately. Reviewed-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/armada/armada_gem.c')
-rw-r--r--drivers/gpu/drm/armada/armada_gem.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/armada/armada_gem.c b/drivers/gpu/drm/armada/armada_gem.c
index 9f2356bae7fd..adc7c2da75bb 100644
--- a/drivers/gpu/drm/armada/armada_gem.c
+++ b/drivers/gpu/drm/armada/armada_gem.c
@@ -172,8 +172,9 @@ armada_gem_linear_back(struct drm_device *dev, struct armada_gem_object *obj)
obj->dev_addr = obj->linear->start;
}
- DRM_DEBUG_DRIVER("obj %p phys %#x dev %#x\n",
- obj, obj->phys_addr, obj->dev_addr);
+ DRM_DEBUG_DRIVER("obj %p phys %#llx dev %#llx\n", obj,
+ (unsigned long long)obj->phys_addr,
+ (unsigned long long)obj->dev_addr);
return 0;
}