commit | 1ae0d5af347df224a6e76334683f13a96d915a44 | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Wed Dec 21 11:00:12 2016 +0530 |
committer | Vincent Abriou <vincent.abriou@st.com> | Fri Jan 06 15:12:03 2017 +0100 |
tree | 01a29e9f8673a6341a2bb8072872295c6c953e1e | |
parent | 6d10c54a83e214348a2f4d59b103047dc230343c [diff] |
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: Arvind Yadav <arvind.yadav.cs@gmail.com> Acked-by: Vincent Abriou <vincent.abriou@st.com>