Commit:     038477aa15df6557ef0c8b2b60523c81eae58ee9
Parent:     7fc86860cf73e060ab8ed9763010dfe5b5389b1c
Author:     Roel Kluin <[EMAIL PROTECTED]>
AuthorDate: Mon Nov 5 10:53:18 2007 +1000
Committer:  Dave Airlie <[EMAIL PROTECTED]>
CommitDate: Mon Nov 5 10:53:18 2007 +1000

    drm/sis: missing mutex unlock in error path.
    airlied: separated this out from a patch on lkml.
    Signed-off-by: Roel Kluin <[EMAIL PROTECTED]>
    Signed-off-by: Dave Airlie <[EMAIL PROTECTED]>
 drivers/char/drm/sis_mm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/char/drm/sis_mm.c b/drivers/char/drm/sis_mm.c
index 6be1c57..a6b7ccd 100644
--- 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)) {
                    ("Attempt to allocate from uninitialized memory 
+               mutex_unlock(&dev->struct_mutex);
                return -EINVAL;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to