]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: dw_mmc: exynos: fix the NULL pointer dereference error
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 20 Jun 2016 04:16:09 +0000 (13:16 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:29 +0000 (10:34 +0200)
commit94a4b6a85d17cf8bc7f2dcd7c0f1efa18f67b99b
tree5d2de2c878e9dad5dbd59c0022359f2bbbed082d
parent9a2da267e49a88d4cc2cf628655cba898efd1cc5
mmc: dw_mmc: exynos: fix the NULL pointer dereference error

"host->cur_slot" should be assigned to start the request.
So it can be the NULL pointer. This patch fixed this error.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc-exynos.c