projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89579f7
)
drm/ttm: fix an error path to exit function correctly
author
Thomas Hellstrom
<thellstrom@vmware.com>
Wed, 17 Jun 2009 10:29:57 +0000
(12:29 +0200)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 18 Jun 2009 23:01:49 +0000
(09:01 +1000)
Just a goto instead of a direct exit.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_bo.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/ttm/ttm_bo.c
b/drivers/gpu/drm/ttm/ttm_bo.c
index b82ba6e5a58690a4648e2ba147e3201abd46f6ca..c1c407f7cca3e982bfd51630c2a0e368869bc201 100644
(file)
--- a/
drivers/gpu/drm/ttm/ttm_bo.c
+++ b/
drivers/gpu/drm/ttm/ttm_bo.c
@@
-282,7
+282,7
@@
static int ttm_bo_handle_move_mem(struct ttm_buffer_object *bo,
ret = ttm_tt_set_placement_caching(bo->ttm, mem->placement);
if (ret)
-
return ret
;
+
goto out_err
;
if (mem->mem_type != TTM_PL_SYSTEM) {
ret = ttm_tt_bind(bo->ttm, mem);