android_kernel_motorola_sm6225/drivers/mmc/card
Philippe De Swert 1c02f000e7 mmc: card: Avoid null pointer dereference
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@gmail.com>
Reviewed-by: Namjae Jeon <linkinjeon@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
2012-05-09 20:47:37 -04:00
..
block.c mmc: card: Avoid null pointer dereference 2012-05-09 20:47:37 -04:00
Kconfig mmc: Improve MMC_TEST config text. 2011-03-15 13:48:56 -04:00
Makefile mmc: Makefile: Fix EXTRA_CFLAGS assignment 2010-10-23 21:11:15 +08:00
mmc_test.c MMC highlights for 3.3: 2012-01-13 20:41:15 -08:00
queue.c mmc: queue: remove redundant memsets 2012-05-09 10:10:46 -04:00
queue.h mmc: block: add handling for two parallel block requests in issue_rw_rq 2011-07-20 17:21:15 -04:00
sdio_uart.c TTY: remove re-assignments to tty_driver members 2012-03-08 11:37:58 -08:00