diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-04 18:00:35 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-04 18:00:35 -0800 |
commit | b55d1b1814c52463c11707f53dbdc223e09b2924 (patch) | |
tree | 4b9ca29e6601b80fdd6aaff7e62bf55b30b2fe07 /drivers/char/drm/sis_mm.c | |
parent | aa641935343e05795f7f7289e7b242138b612ffe (diff) | |
parent | 038477aa15df6557ef0c8b2b60523c81eae58ee9 (diff) | |
download | linux-b55d1b1814c52463c11707f53dbdc223e09b2924.tar.bz2 |
Merge branch 'drm-patches' of master.kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6
* 'drm-patches' of master.kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6:
drm/sis: missing mutex unlock in error path.
radeon: set the address to access the GART table on the CPU side correctly
Diffstat (limited to 'drivers/char/drm/sis_mm.c')
-rw-r--r-- | 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 6be1c5757580..a6b7ccdaf73d 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)) { DRM_ERROR ("Attempt to allocate from uninitialized memory manager.\n"); + mutex_unlock(&dev->struct_mutex); return -EINVAL; } |