[PATCH] mmc:core:if detect mmc card remove, don't wait for req done

Linus Torvalds torvalds at linux-foundation.org
Thu Dec 20 15:49:18 UTC 2012


On Thu, Dec 20, 2012 at 1:32 AM,  <zhenpeng.qian at tieto.com> wrote:
>         I find a bug about mmc/core/core.c, and send you a patch which I fix
> this bug.
>         In fact, the bug is a low probability of occurrence.
>         Hope you help me to analyze it and discuss with me.

I've added the proper people - Chris Ball and linux-mmc - to the
participants list.

I also wanted to check with you: the commit message implies that this
can cause an IO timeout and then a call to
msmsdcc_start_command_deferred() with a NULL cmd->mrq. Which I assume
results in a NULL pointer dereference and Oops, but that wasn't
spelled out.

Chris, please give it a look, and perhaps edit the commit message a bit.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mmc-core.patch
Type: application/octet-stream
Size: 2056 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20121220/fc7baf69/attachment.obj>

More information about the devel mailing list