Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 890bdeed authored by Asutosh Das's avatar Asutosh Das Committed by Xiaonian Wang
Browse files

mmc: sdhci-msm: fix possible NULL pointer dereference



The platform_get_resource API may return NULL, hence check
the return value before using the mapped memory.

Change-Id: I28741554f8e1b5843671ee0d6b08bdcf8e4469c9
Signed-off-by: default avatarAsutosh Das <asutoshd@codeaurora.org>
parent 450745e4
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