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

Skip to content
Commit 1ae0d5af authored by Arvind Yadav's avatar Arvind Yadav Committed by Vincent Abriou
Browse files

drm/sti: sti_vtg: Handle return NULL error from devm_ioremap_nocache



Here, If devm_ioremap_nocache will fail. It will return NULL.
Kernel can run into a NULL-pointer dereference. This error check
will avoid NULL pointer dereference.

Signed-off-by: default avatarArvind Yadav <arvind.yadav.cs@gmail.com>
Acked-by: default avatarVincent Abriou <vincent.abriou@st.com>
parent 6d10c54a
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