projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c2a9ac
)
drm/radeon/kms: return ret in cursor_set failure path
author
Matt Turner
<mattst88@gmail.com>
Sat, 19 Jun 2010 18:13:45 +0000
(14:13 -0400)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 1 Jul 2010 01:59:27 +0000
(11:59 +1000)
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>
drivers/gpu/drm/radeon/radeon_cursor.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_cursor.c
b/drivers/gpu/drm/radeon/radeon_cursor.c
index b7023fff89eb258b00d6aee84e7632954fe00384..4eb67c0e0996e539b9ad46242b25ef0070e8dfeb 100644
(file)
--- 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,