Re: [PATCH] mmc: cd-gpio: allow NULL context in mmc_cd_gpio_free()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
> ---
>
> 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@xxxxxxxxxx>   <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux