From: Stoyan Gaydarov <sgayda2@uiuc.edu>
To: linux-kernel@vger.kernel.org
Cc: Stoyan Gaydarov <sgayda2@uiuc.edu>,
johnpol@2ka.mipt.ru, akpm@linux-foundation.org,
stanley.miao@windriver.com, rmk+kernel@arm.linux.org.uk,
madhu.cr@ti.com, felipe.balbi@nokia.com
Subject: [PATCH] missing mutex unlock
Date: Thu, 30 Jul 2009 04:57:18 -0500 [thread overview]
Message-ID: <1248947838-20087-1-git-send-email-sgayda2@uiuc.edu> (raw)
This was found using a semantic patch, more info can be found at:
http://www.emn.fr/x-info/coccinelle/
Signed-off-by: Stoyan Gaydarov <sgayda2@uiuc.edu>
---
drivers/w1/masters/omap_hdq.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/w1/masters/omap_hdq.c b/drivers/w1/masters/omap_hdq.c
index a7e3b70..0d92969 100644
--- a/drivers/w1/masters/omap_hdq.c
+++ b/drivers/w1/masters/omap_hdq.c
@@ -687,6 +687,7 @@ static int omap_hdq_remove(struct platform_device *pdev)
if (hdq_data->hdq_usecount) {
dev_dbg(&pdev->dev, "removed when use count is not zero\n");
+ mutex_unlock(&hdq_data->hdq_mutex);
return -EBUSY;
}
--
1.6.3.3
next reply other threads:[~2009-07-30 9:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-30 9:57 Stoyan Gaydarov [this message]
2009-07-30 11:00 ` Evgeniy Polyakov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1248947838-20087-1-git-send-email-sgayda2@uiuc.edu \
--to=sgayda2@uiuc.edu \
--cc=akpm@linux-foundation.org \
--cc=felipe.balbi@nokia.com \
--cc=johnpol@2ka.mipt.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=madhu.cr@ti.com \
--cc=rmk+kernel@arm.linux.org.uk \
--cc=stanley.miao@windriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®