提交 038477aa 编写于 作者: R Roel Kluin 提交者: Dave Airlie

drm/sis: missing mutex unlock in error path.

airlied: separated this out from a patch on lkml.
Signed-off-by: NRoel Kluin <12o3l@tiscali.nl>
Signed-off-by: NDave Airlie <airlied@linux.ie>
上级 7fc86860
......@@ -134,6 +134,7 @@ static int sis_drm_alloc(struct drm_device *dev, struct drm_file *file_priv,
dev_priv->agp_initialized)) {
DRM_ERROR
("Attempt to allocate from uninitialized memory manager.\n");
mutex_unlock(&dev->struct_mutex);
return -EINVAL;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册