+ video-mmp-delete-a-stray-mutex_unlock.patch added to -mm tree
Subject: + video-mmp-delete-a-stray-mutex_unlock.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 16 Dec 2013 11:55:52 -0800
The patch titled
Subject: drivers/video/mmp/core.c: delete a stray mutex_unlock()
has been added to the -mm tree. Its filename is
video-mmp-delete-a-stray-mutex_unlock.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/video-mmp-delete-a-stray-mutex_unlock.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/video-mmp-delete-a-stray-mutex_unlock.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Dan Carpenter <[email protected]>
Subject: drivers/video/mmp/core.c: delete a stray mutex_unlock()
We aren't holding the disp_lock so we shouldn't release it.
---
drivers/video/mmp/core.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
drivers/video/mmp/core.c renamed from drivers/video/mmp/core.c~video-mmp-delete-a-stray-mutex_unlock +1 -1
@@ -173,7 +173,7 @@ struct mmp_path *mmp_register_path(struc +sizeof (struct mmp_overlay ) * info->overlay_num; path =kzalloc (size,GFP_KERNEL );if (!path) - goto failed; +return NULL ;/* path set */ mutex_init (&path->access_ok);
@@ -219,11 +219,6 @@ struct mmp_path *mmp_register_path(strucmutex_unlock (&disp_lock);return path;