projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcffb94
)
drm/i915: Set the error code after failing to insert new offset into mm ht.
author
Chris Wilson
<chris@chris-wilson.co.uk>
Wed, 2 Dec 2009 15:15:30 +0000
(15:15 +0000)
committer
Eric Anholt
<eric@anholt.net>
Mon, 7 Dec 2009 23:44:30 +0000
(15:44 -0800)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@kernel.org
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_gem.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gem.c
b/drivers/gpu/drm/i915/i915_gem.c
index 5b46623d62d4d811432f406e9429f64588b7b667..917b8377ae280ec628e0fb58535e3e249c8b6f2e 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_gem.c
+++ b/
drivers/gpu/drm/i915/i915_gem.c
@@
-1288,6
+1288,7
@@
i915_gem_create_mmap_offset(struct drm_gem_object *obj)
list->hash.key = list->file_offset_node->start;
if (drm_ht_insert_item(&mm->offset_hash, &list->hash)) {
DRM_ERROR("failed to add to map hash\n");
+ ret = -ENOMEM;
goto out_free_mm;
}