]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: dw_mmc: NULL dereference in error message
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 22 Oct 2015 19:53:46 +0000 (22:53 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 29 Oct 2015 10:00:03 +0000 (11:00 +0100)
commitdfbaf60570e3820476269685089dfe2d4b914a5b
tree22cff82be833c59d91393116a15811ce5ad0ffeb
parentf4ade123b44cc6547bc83ea17e3e4e4c4de498f0
mmc: dw_mmc: NULL dereference in error message

The "host->dms->ch" pointer is NULL here so we can't use it to print the
error message.

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