aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_fb.c
diff options
context:
space:
mode:
authorTomi Valkeinen <[email protected]>2017-02-21 07:57:12 +0000
committerTomi Valkeinen <[email protected]>2017-06-02 07:57:13 +0000
commit2150c19b15b01458cfa0b2db68c7ad035011a1fb (patch)
tree062a03044c0cc4974c843413c75ded5dcf07356e /drivers/gpu/drm/omapdrm/omap_fb.c
parentdrm/omap: remove read_irqenable() (diff)
downloadkernel-2150c19b15b01458cfa0b2db68c7ad035011a1fb.tar.gz
kernel-2150c19b15b01458cfa0b2db68c7ad035011a1fb.zip
drm/omap: 64bit compile fixes
Fix a few type issues that cause compile warnings on 64 bit ARM compiler. The change should not affect 32bit platforms. Signed-off-by: Tomi Valkeinen <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fb.c')
-rw-r--r--drivers/gpu/drm/omapdrm/omap_fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_fb.c b/drivers/gpu/drm/omapdrm/omap_fb.c
index ee615fa048a5..4bf9fcfcf673 100644
--- a/drivers/gpu/drm/omapdrm/omap_fb.c
+++ b/drivers/gpu/drm/omapdrm/omap_fb.c
@@ -450,7 +450,7 @@ struct drm_framebuffer *omap_framebuffer_init(struct drm_device *dev,
if (size > omap_gem_mmap_size(bos[i]) - mode_cmd->offsets[i]) {
dev_dbg(dev->dev,
- "provided buffer object is too small! %d < %d\n",
+ "provided buffer object is too small! %zu < %d\n",
bos[i]->size - mode_cmd->offsets[i], size);
ret = -EINVAL;
goto fail;