Skip to content
Snippets Groups Projects
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
Branches WIP/2022-03-30
Tags clk-2022.04-next
No related merge requests found
Pipeline #13939 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment