commit | 17c8bc85f27227e073ed8e59da39ff32f1bee873 | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Tue Feb 25 15:18:28 2014 +0530 |
committer | Chris Ball <chris@printf.net> | Tue Feb 25 15:43:27 2014 -0500 |
tree | 44445e683c5021e806fa9c4b68fb07e26a2f4d41 | |
parent | 550459eeb21b8f3553283d506fdcb92c9147c1eb [diff] |
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>