From: Michael Buesch Date: Mon, 11 Apr 2011 21:00:44 +0000 (-0400) Subject: mmc: omap: Fix possible NULL pointer deref X-Git-Tag: v2.6.39-rc6~4^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f69475142136c8ad9b9c717aea2ff907aed9f863;p=pandora-kernel.git mmc: omap: Fix possible NULL pointer deref Either OMAP_MMC_STAT_CARD_ERR or OMAP_MMC_STAT_END_OF_CMD might fire if there is no host->cmd pointer. Check for a valid host->cmd pointer before calling mmc_omap_cmd_done(). Signed-off-by: Michael Buesch Acked-by: Tony Lindgren Signed-off-by: Chris Ball --- Reading git-diff-tree failed