projects
/
platform
/
kernel
/
linux-rpi.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
6be1c57
..
a6b7ccd
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;
}