Skip to content
Commit 4a835afd authored by Wen Zhiwei's avatar Wen Zhiwei Committed by Ulf Hansson
Browse files

mmc: dw_mmc: Fix potential null pointer risk



we previously assumed 'host->slot' could be null,
null pointer judgment should be added

Signed-off-by: default avatarWen Zhiwei <wenzhiwei@kylinos.cn>
Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
Link: https://lore.kernel.org/r/20211229023814.53372-1-wenzhiwei@kylinos.cn
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 7e57714c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment