Searched hist:"1 ae0d5af" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpu/drm/sti/ |
H A D | sti_vtg.c | 1ae0d5af Tue Dec 20 23:30:12 CST 2016 Arvind Yadav <arvind.yadav.cs@gmail.com> 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> 1ae0d5af Tue Dec 20 23:30:12 CST 2016 Arvind Yadav <arvind.yadav.cs@gmail.com> 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>
|