From: Chris Ball <cjb@laptop.org>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: linux-mmc@vger.kernel.org
Subject: Re: [PATCH] mmc: cd-gpio: allow NULL context in mmc_cd_gpio_free()
Date: Tue, 24 Apr 2012 12:22:21 -0400 [thread overview]
Message-ID: <8762cpcd6q.fsf@laptop.org> (raw)
In-Reply-To: <Pine.LNX.4.64.1204241746530.21239@axis700.grange> (Guennadi Liakhovetski's message of "Tue, 24 Apr 2012 17:56:29 +0200 (CEST)")
Hi Guennadi,
On Tue, Apr 24 2012, Guennadi Liakhovetski wrote:
> Do not Oops, even if mmc_cd_gpio_free() is mistakenly called on a
> driver-cleanup path, even though a previous call to mmc_cd_gpio_request()
> failed.
>
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
> ---
>
> Hi Chris
>
> Unfortunately, as I submitted the final version of the original cd-gpio
> patch http://article.gmane.org/gmane.linux.kernel.mmc/12013 I forgot, that
> I'd already sent a v2 and hadn't incremented the version to v3. And that
> version contained the below fix, that went lost because of the wrong
> version number. So, please, push this incremental fix for 3.4, because
> otherwise some error-paths of the tmio-mmc driver can Oops.
Sorry about that, I should have noticed this as well.
Pushed to mmc-next for 3.4 with a stable@ tag for 3.3. (It's helpful if
you can add the stable@ tag yourself when submitting.)
- Chris.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child
prev parent reply other threads:[~2012-04-24 16:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-24 15:56 [PATCH] mmc: cd-gpio: allow NULL context in mmc_cd_gpio_free() Guennadi Liakhovetski
2012-04-24 16:22 ` Chris Ball [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=8762cpcd6q.fsf@laptop.org \
--to=cjb@laptop.org \
--cc=g.liakhovetski@gmx.de \
--cc=linux-mmc@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.