linux_dsm_epyc7002/drivers/gpu/drm/sti
Peter Rosin 66e31a72dc drm/sti: do not remove the drm_bridge that was never added
Removing the drm_bridge_remove call should avoid a NULL dereference
during list processing in drm_bridge_remove if the error path is ever
taken.

The more natural approach would perhaps be to add a drm_bridge_add,
but there are several other bridges that never call drm_bridge_add.
Just removing the drm_bridge_remove is the easier fix.

Fixes: 84601dbdea ("drm: sti: rework init sequence")
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180806061910.29914-2-peda@axentia.se
2018-08-07 15:33:00 +02:00
..
Kconfig drm/sti: Depend on OF rather than selecting it 2018-04-05 14:04:17 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
NOTES drm: sti: add bindings for DRM driver 2014-07-30 18:11:53 +02:00
sti_awg_utils.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_awg_utils.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_compositor.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_compositor.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_crtc.c gpu: drm: sti: fix spelling mistake: "initialze" -> "initialize" 2018-05-02 13:09:49 +02:00
sti_crtc.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_cursor.c drm: add missing ctx argument to plane transitional helpers 2018-07-03 09:30:19 +02:00
sti_cursor.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_drv.c drm/sti: Replace drm_dev_unref with drm_dev_put 2018-07-13 10:11:20 +02:00
sti_drv.h drm/sti: Use drm_fb_cma_fbdev_init/fini() 2017-12-08 14:47:41 +01:00
sti_dvo.c drm: drop _mode_ from drm_mode_connector_attach_encoder 2018-07-13 18:40:27 +02:00
sti_gdp.c drm: add missing ctx argument to plane transitional helpers 2018-07-03 09:30:19 +02:00
sti_gdp.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_hda.c drm/sti: do not remove the drm_bridge that was never added 2018-08-07 15:33:00 +02:00
sti_hdmi_tx3g4c28phy.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_hdmi_tx3g4c28phy.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_hdmi.c drm/sti: do not remove the drm_bridge that was never added 2018-08-07 15:33:00 +02:00
sti_hdmi.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_hqvdp_lut.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_hqvdp.c drm: add missing ctx argument to plane transitional helpers 2018-07-03 09:30:19 +02:00
sti_mixer.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_mixer.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_plane.c drm/sti: Stop consulting plane->fb 2018-03-29 19:14:21 +03:00
sti_plane.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_tvout.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_vid.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_vid.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_vtg.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_vtg.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00