summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom-at-vmware-dot-com>2009-04-28 20:58:10 +0200
committerThomas Hellstrom <thellstrom-at-vmware-dot-com>2009-04-28 21:07:22 +0200
commit70b084c84ab1f85d8702af7affcc7ee1396a010b (patch)
treedd1199dbbcbaf99557466b032b2441785c484f45
parent871a640475192ea0d39f92e92fa3fcf9de2c353e (diff)
ttm: Fix a return value.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
-rw-r--r--linux-core/ttm/ttm_placement_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/ttm/ttm_placement_user.c b/linux-core/ttm/ttm_placement_user.c
index 81083f99..60b32d1f 100644
--- a/linux-core/ttm/ttm_placement_user.c
+++ b/linux-core/ttm/ttm_placement_user.c
@@ -275,7 +275,7 @@ int ttm_pl_ub_create_ioctl(struct ttm_object_file *tfile,
mutex_unlock(&bo->mutex);
ttm_bo_unref(&bo);
out:
- return 0;
+ return ret;
out_err:
ttm_bo_unref(&tmp);
ttm_bo_unref(&bo);