diff options
author | Michael Buesch <mb@bu3sch.de> | 2011-04-11 17:00:44 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-04-27 19:15:12 -0400 |
commit | f69475142136c8ad9b9c717aea2ff907aed9f863 (patch) | |
tree | b8eec05f142ef6b8563f64828362dfba816074d6 /include | |
parent | 9bc21848b1d6cb8389d927196b16c9950b5e21e9 (diff) | |
download | linux-3.10-f69475142136c8ad9b9c717aea2ff907aed9f863.tar.gz linux-3.10-f69475142136c8ad9b9c717aea2ff907aed9f863.tar.bz2 linux-3.10-f69475142136c8ad9b9c717aea2ff907aed9f863.zip |
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 <mb@bu3sch.de>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions