projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fc8686
)
drm/sis: missing mutex unlock in error path.
author
Roel Kluin
<12o3l@tiscali.nl>
Mon, 5 Nov 2007 00:53:18 +0000
(10:53 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Mon, 5 Nov 2007 00:53:18 +0000
(10:53 +1000)
airlied: separated this out from a patch on lkml.
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/sis_mm.c
patch
|
blob
|
history
diff --git
a/drivers/char/drm/sis_mm.c
b/drivers/char/drm/sis_mm.c
index 6be1c575758063ff0721bf723544ff3d3d418a63..a6b7ccdaf73deae309099868a1a21a7e13f94a7a 100644
(file)
--- a/
drivers/char/drm/sis_mm.c
+++ b/
drivers/char/drm/sis_mm.c
@@
-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;
}