diff options
author | Matt Turner <mattst88@gmail.com> | 2010-06-19 14:13:45 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-07-01 11:59:27 +1000 |
commit | 4cdb82b95a48a64e5c20bffd63a549675c0d4848 (patch) | |
tree | 079d3ecf29042df3483648b3f2b6b9cac1fb1662 /drivers | |
parent | 7c2a9acf856f150a9fc3efbaa0be44f97c30f6ca (diff) |
drm/radeon/kms: return ret in cursor_set failure path
We were returning 0 in both the success and failure paths. Noticed while
investigating FDO bug 26403.
Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_cursor.c b/drivers/gpu/drm/radeon/radeon_cursor.c index b7023fff89eb..4eb67c0e0996 100644 --- a/drivers/gpu/drm/radeon/radeon_cursor.c +++ b/drivers/gpu/drm/radeon/radeon_cursor.c @@ -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, |