From: Philippe De Swert Date: Wed, 11 Apr 2012 20:31:45 +0000 (+0300) Subject: mmc: card: Avoid null pointer dereference X-Git-Tag: v3.5-rc1~85^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c02f000e78347aa51822feb189fcb0d90273958;p=pandora-kernel.git 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 Reviewed-by: Namjae Jeon Signed-off-by: Chris Ball --- Reading git-diff-tree failed