projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa1b0e5
)
drm/msm: fix deadlock in bo create fail path
author
Rob Clark
<robdclark@gmail.com>
Tue, 4 Feb 2014 19:17:32 +0000
(14:17 -0500)
committer
Rob Clark
<robdclark@gmail.com>
Wed, 5 Feb 2014 16:24:42 +0000
(11:24 -0500)
We already hold struct_mutex here.
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_gem.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/msm/msm_gem.c
b/drivers/gpu/drm/msm/msm_gem.c
index
d8d60c9
..
3da8264
100644
(file)
--- a/
drivers/gpu/drm/msm/msm_gem.c
+++ b/
drivers/gpu/drm/msm/msm_gem.c
@@
-644,7
+644,7
@@
struct drm_gem_object *msm_gem_new(struct drm_device *dev,
fail:
if (obj)
- drm_gem_object_unreference
_unlocked
(obj);
+ drm_gem_object_unreference(obj);
return ERR_PTR(ret);
}