提交 9999f105 编写于 作者: R Rob Clark

drm/msm: fix deadlock in bo create fail path

We already hold struct_mutex here.
Signed-off-by: NRob Clark <robdclark@gmail.com>
上级 aa1b0e59
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册