Skip to content
Commit 43aaa50f authored by Sachin Kamat's avatar Sachin Kamat Committed by Chris Ball
Browse files

mmc: wmt-sdmmc: Fix NULL pointer dereference



'of_id' is dereferenced before NULL pointer check. Move it to
after the check.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Acked-by: default avatarTony Prisk <linux@prisktech.co.nz>
Signed-off-by: default avatarChris Ball <chris@printf.net>
parent c4c7fb19
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment