drm/radeon/kms: return ret in cursor_set failure path
Subsystems (2)
PATCH 1/1 drm/radeon/kms: return ret in cursor_set failure path
From: Matt Turner <[email protected]>
We were returning 0 in both the success and failure paths. Noticed while investigating FDO bug 26403.
Signed-off-by Matt Turner <[email protected]>
--- drivers/gpu/drm/radeon/radeon_cursor.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/radeon/radeon_cursor.c +1 -1
@@ -194,7 +194,7 @@ unpin: fail:drm_gem_object_unreference_unlocked (obj); -return 0 ; +return ret; } int radeon_crtc_cursor_move(struct drm_crtc *crtc,
Signature · 1 line
1.6.4.4