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 drm/sti: load HQVDP firmware the first time HQVDP's plane is used 2015-11-03 13:04:56 +01:00
Makefile drm/sti: Build monolithic driver 2015-11-03 13:04:54 +01:00
NOTES
sti_awg_utils.c drm/sti: remove redundant sign extensions 2015-11-03 13:04:55 +01:00
sti_awg_utils.h drm: sti: add DVO output connector 2014-12-30 15:08:16 +01:00
sti_compositor.c drm/sti: Build monolithic driver 2015-11-03 13:04:54 +01:00
sti_compositor.h drm/sti: rename files and functions 2015-08-03 14:25:06 +02:00
sti_crtc.c drm/sti: Do not export symbols 2015-11-03 13:04:54 +01:00
sti_crtc.h drm/irq: Use unsigned int pipe in public API 2015-10-06 12:57:47 +02:00
sti_cursor.c drm/sti: atomic crtc/plane update 2015-08-03 14:26:05 +02:00
sti_cursor.h drm/sti: atomic crtc/plane update 2015-08-03 14:26:05 +02:00
sti_drv.c drm/sti: fix typo issue in sti_mode_config_init 2015-11-03 13:04:55 +01:00
sti_drv.h drm/sti: Build monolithic driver 2015-11-03 13:04:54 +01:00
sti_dvo.c drm/sti: Build monolithic driver 2015-11-03 13:04:54 +01:00
sti_gdp.c drm/sti: Use drm_crtc_vblank_*() API 2015-11-03 13:04:53 +01:00
sti_gdp.h drm/sti: atomic crtc/plane update 2015-08-03 14:26:05 +02:00
sti_hda.c drm/sti: Build monolithic driver 2015-11-03 13:04:54 +01:00
sti_hdmi.c drm/sti: hdmi use of_get_i2c_adapter_by_node interface 2015-11-03 13:04:54 +01:00
sti_hdmi.h drm: sti: remove gpio for HDMI hot plug detection 2014-12-11 13:58:12 +01:00
sti_hdmi_tx3g0c55phy.c drm: sti: add HDMI driver 2014-07-30 19:24:55 +02:00
sti_hdmi_tx3g0c55phy.h drm: sti: add HDMI driver 2014-07-30 19:24:55 +02:00
sti_hdmi_tx3g4c28phy.c drm: sti: add HDMI driver 2014-07-30 19:24:55 +02:00
sti_hdmi_tx3g4c28phy.h drm: sti: add HDMI driver 2014-07-30 19:24:55 +02:00
sti_hqvdp.c drm/sti: load HQVDP firmware the first time HQVDP's plane is used 2015-11-03 13:04:56 +01:00
sti_hqvdp_lut.h drm: sti: add HQVDP plane 2014-12-11 14:00:13 +01:00
sti_mixer.c drm/sti: set mixer background color through module param 2015-11-03 13:04:55 +01:00
sti_mixer.h drm/sti: atomic crtc/plane update 2015-08-03 14:26:05 +02:00
sti_plane.c drm/sti: Do not export symbols 2015-11-03 13:04:54 +01:00
sti_plane.h drm/sti: atomic crtc/plane update 2015-08-03 14:26:05 +02:00
sti_tvout.c drm/sti: Build monolithic driver 2015-11-03 13:04:54 +01:00
sti_vid.c drm/sti: atomic crtc/plane update 2015-08-03 14:26:05 +02:00
sti_vid.h drm/sti: atomic crtc/plane update 2015-08-03 14:26:05 +02:00
sti_vtac.c drm/sti: Build monolithic driver 2015-11-03 13:04:54 +01:00
sti_vtg.c drm/sti: sti_vtg: Handle return NULL error from devm_ioremap_nocache 2017-11-21 09:21:19 +01:00
sti_vtg.h drm/sti: Use drm_crtc_vblank_*() API 2015-11-03 13:04:53 +01:00