Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 038477aa authored by Roel Kluin's avatar Roel Kluin Committed by Dave Airlie
Browse files

drm/sis: missing mutex unlock in error path.



airlied: separated this out from a patch on lkml.

Signed-off-by: default avatarRoel Kluin <12o3l@tiscali.nl>
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent 7fc86860
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
	}