android_kernel_oneplus_msm8998/drivers/gpu/drm/sti
Arvind Yadav 7878dca7ca drm/sti: sti_vtg: Handle return NULL error from devm_ioremap_nocache
[ Upstream commit 1ae0d5af347df224a6e76334683f13a96d915a44 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-21 09:21:19 +01:00
..
Kconfig
Makefile
NOTES
sti_awg_utils.c
sti_awg_utils.h
sti_compositor.c
sti_compositor.h
sti_crtc.c
sti_crtc.h
sti_cursor.c
sti_cursor.h
sti_drv.c
sti_drv.h
sti_dvo.c
sti_gdp.c
sti_gdp.h
sti_hda.c
sti_hdmi.c
sti_hdmi.h
sti_hdmi_tx3g0c55phy.c
sti_hdmi_tx3g0c55phy.h
sti_hdmi_tx3g4c28phy.c
sti_hdmi_tx3g4c28phy.h
sti_hqvdp.c
sti_hqvdp_lut.h
sti_mixer.c
sti_mixer.h
sti_plane.c
sti_plane.h
sti_tvout.c
sti_vid.c
sti_vid.h
sti_vtac.c
sti_vtg.c
sti_vtg.h