diff options
author | Dave Airlie <airlied@redhat.com> | 2018-07-16 09:48:54 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2018-07-16 09:49:22 +1000 |
commit | 2757de4c098616a3da29f149bd2b7f0842989830 (patch) | |
tree | 51b01ed1d52e09f2db3104e6213a6b7846e5f76c /drivers/gpu/drm | |
parent | e280057762cd553a6863b7e3a73f5040ed879a15 (diff) | |
parent | 5265f0338bc0feec6c0d544dfe005dec1a93cb93 (diff) |
Merge tag 'drm/tegra/for-4.18-rc5' of git://anongit.freedesktop.org/tegra/linux into drm-fixes
drm/tegra: Fixes for v4.18-rc5
This contains a couple of one- or two-line fixes for various minor
issues in the Tegra driver.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180712070142.15571-1-thierry.reding@gmail.com
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/tegra/drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/drm.c b/drivers/gpu/drm/tegra/drm.c index 776c1513e582..a2bd5876c633 100644 --- a/drivers/gpu/drm/tegra/drm.c +++ b/drivers/gpu/drm/tegra/drm.c @@ -398,7 +398,7 @@ int tegra_drm_submit(struct tegra_drm_context *context, * unaligned offset is malformed and cause commands stream * corruption on the buffer address relocation. */ - if (offset & 3 || offset >= obj->gem.size) { + if (offset & 3 || offset > obj->gem.size) { err = -EINVAL; goto fail; } |