diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2017-02-21 02:57:12 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2017-06-02 03:57:13 -0400 |
commit | 2150c19b15b01458cfa0b2db68c7ad035011a1fb (patch) | |
tree | 062a03044c0cc4974c843413c75ded5dcf07356e /drivers/gpu/drm/omapdrm/omap_fb.c | |
parent | 2e953d83a6797e4f1c6fe48c08fc9a8fcb50db78 (diff) |
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 <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fb.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_fb.c | 2 |
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, | |||
450 | 450 | ||
451 | if (size > omap_gem_mmap_size(bos[i]) - mode_cmd->offsets[i]) { | 451 | if (size > omap_gem_mmap_size(bos[i]) - mode_cmd->offsets[i]) { |
452 | dev_dbg(dev->dev, | 452 | dev_dbg(dev->dev, |
453 | "provided buffer object is too small! %d < %d\n", | 453 | "provided buffer object is too small! %zu < %d\n", |
454 | bos[i]->size - mode_cmd->offsets[i], size); | 454 | bos[i]->size - mode_cmd->offsets[i], size); |
455 | ret = -EINVAL; | 455 | ret = -EINVAL; |
456 | goto fail; | 456 | goto fail; |