Skip to content
Commit 337af54a authored by Venkatesh Yadav Abbarapu's avatar Venkatesh Yadav Abbarapu Committed by Jaehoon Chung
Browse files

mmc: Fix static checker warnings



Correct pointer dereferencing check to be more consistent.

Eliminate the below smatch warning:
drivers/mmc/mmc.c:3118 mmc_init_device()
warn: variable dereferenced before check 'm' (see line 3116)

Signed-off-by: default avatarVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Reviewed-by: default avatarMichal Simek <michal.simek@amd.com>
Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
parent 7ff2f30b
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