Re: [PATCH] omap-mmc: Fix possible NULL pointer deref

2011-04-11 Thread Chris Ball
Hi, On Wed, Mar 02 2011, Michael Buesch wrote: 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 m...@bu3sch.de Acked-by: Tony Lindgren

[PATCH] omap-mmc: Fix possible NULL pointer deref

2011-03-02 Thread Michael Buesch
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 m...@bu3sch.de Acked-by: Tony Lindgren t...@atomide.com --- Fixes [3.814483] Unable to