summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2014-02-25 10:48:28 +0100
committerChris Ball <chris@printf.net>2014-02-25 21:43:27 +0100
commit17c8bc85f27227e073ed8e59da39ff32f1bee873 (patch)
tree44445e683c5021e806fa9c4b68fb07e26a2f4d41 /drivers/md
parentmmc: mvsdio: Cleanup mmc-mvsdio.h header (diff)
downloadlinux-17c8bc85f27227e073ed8e59da39ff32f1bee873.tar.xz
linux-17c8bc85f27227e073ed8e59da39ff32f1bee873.zip
mmc: dw_mmc: Fix NULL pointer dereference
If mrq->sbc is not NULL but data->stop happens to be NULL, it will lead to NULL pointer dereferencing. Avoid this by having a NULL check for data->stop. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Seungwon Jeon <tgih.jun@samsung.com> Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions