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 ?

Thanks.

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 http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/