From: Bjorn Helgaas <bjorn.helgaas@hp.com>
To: Alexander Strakh <strakh@ispras.ru>
Cc: Jaroslav Kysela <perex@perex.cz>, Adam Belay <abelay@mit.edu>,
linux-kernel@vger.kernel.org
Subject: Re: BUG mutex_unlock without mutex_lock in drivers/pnp/isapnp/core.c
Date: Tue, 2 Mar 2010 15:34:26 -0700 [thread overview]
Message-ID: <201003021534.27001.bjorn.helgaas@hp.com> (raw)
In-Reply-To: <201003011559.40139.strakh@ispras.ru>
On Monday 01 March 2010 08:59:40 am Alexander Strakh wrote:
> KERNEL_VERSION: 2.6.33
> SUBJECT: mutex_unlock without mutex_lock
> DESCRIBE:
> In drivers/pnp/isapnp/core.c in function isapnp_get_resources:
>
> ...
> 4. isapnp_cfg_end in line 886 calls mutex_unlock on &isapnp_cfg_mutex without
> mutex_lock (it was not locked in function isapnp_cfg_begin because of -
> EINVAL).
Looks like a bug to me. I'll send a patch.
Bjorn
prev parent reply other threads:[~2010-03-02 22:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-01 15:59 Alexander Strakh
2010-03-02 22:34 ` Bjorn Helgaas [this message]
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=201003021534.27001.bjorn.helgaas@hp.com \
--to=bjorn.helgaas@hp.com \
--cc=abelay@mit.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=strakh@ispras.ru \
/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®