Ben Dooks b7b4d3426d mmc: sdhci: Check mrq->cmd in sdhci_tasklet_finish
It seems that under certain circumstances that the sdhci_tasklet_finish()
call can be entered with mrq->cmd set to NULL, causing the system to crash
with a NULL pointer de-reference.

Unable to handle kernel NULL pointer dereference at virtual address 00000000
PC is at sdhci_tasklet_finish+0x34/0xe8
LR is at sdhci_tasklet_finish+0x24/0xe8

Seen on S3C6410 system.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: <stable@kernel.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
2011-04-27 19:16:45 -04:00
..
2011-03-31 11:26:23 -03:00
2010-11-01 15:38:34 -04:00
2011-03-15 13:51:47 -04:00
2008-12-16 14:58:17 +01:00
2011-03-31 11:26:23 -03:00
2009-03-24 21:30:03 +01:00
2011-03-15 13:49:32 -04:00
2011-03-31 11:26:23 -03:00
2009-10-01 16:11:15 -07:00
2011-03-15 13:48:25 -04:00
2011-03-25 10:30:49 -04:00
2011-03-31 11:26:23 -03:00