drm/gma500/mmu: Actually return an error if one occurs
authorLee Jones <lee.jones@linaro.org>
Fri, 15 Jan 2021 18:15:38 +0000 (18:15 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 18 Jan 2021 14:49:08 +0000 (15:49 +0100)
commit4dacee1630b9bf26195cd9d27c0883b094147d57
tree2261f91d045a72c4aeff7ddf3987a43dbac5aee7
parent7a62002035332bda83c4d29c2837b95748bb2891
drm/gma500/mmu: Actually return an error if one occurs

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/gma500/mmu.c: In function ‘psb_mmu_insert_pfn_sequence’:
 drivers/gpu/drm/gma500/mmu.c:651:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]

Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210115181601.3432599-7-lee.jones@linaro.org
drivers/gpu/drm/gma500/mmu.c