Re: [PATCH 1/2] mmc: Avoid null pointer dereference

From: Namjae Jeon
Date: Wed May 09 2012 - 20:43:27 EST

Hi. Chris.

Would you check this patch ?


2012/4/12, Namjae Jeon <linkinjeon@xxxxxxxxx>:
> 2012/4/12 Philippe De Swert <philippedeswert@xxxxxxxxx>:
>> After the null check on md the code jumped to cmd_done, which then
>> will dereference md in mmc_blk_put. This patch avoids the possible
>> null pointer dereference in that case.
>> Signed-off-by: Philippe De Swert <philippedeswert@xxxxxxxxx>
> This patch is good also.
> Reviewed-by: Namjae Jeon <linkinjeon@xxxxxxxxx>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at