linux_dsm_epyc7002/drivers/gpu/drm/mediatek
Nishka Dasgupta 165d42c012 drm/mediatek: mtk_drm_drv.c: Add of_node_put() before goto
Each iteration of for_each_child_of_node puts the previous
node, but in the case of a goto from the middle of the loop, there is
no put, thus causing a memory leak. Hence add an of_node_put before the
goto in two places.
Issue found with Coccinelle.

Fixes: 119f517362 (drm/mediatek: Add DRM Driver for Mediatek SoC MT8173)

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
2019-08-19 07:09:29 +08:00
..
Kconfig
Makefile
mtk_cec.c
mtk_cec.h
mtk_disp_color.c
mtk_disp_ovl.c
mtk_disp_rdma.c
mtk_dpi_regs.h
mtk_dpi.c
mtk_drm_crtc.c
mtk_drm_crtc.h
mtk_drm_ddp_comp.c
mtk_drm_ddp_comp.h
mtk_drm_ddp.c
mtk_drm_ddp.h
mtk_drm_drv.c drm/mediatek: mtk_drm_drv.c: Add of_node_put() before goto 2019-08-19 07:09:29 +08:00
mtk_drm_drv.h drm/mediatek: set DMA max segment size 2019-08-15 07:43:46 +08:00
mtk_drm_fb.c
mtk_drm_fb.h
mtk_drm_gem.c
mtk_drm_gem.h
mtk_drm_plane.c
mtk_drm_plane.h
mtk_dsi.c
mtk_hdmi_ddc.c
mtk_hdmi_phy.c
mtk_hdmi_phy.h
mtk_hdmi_regs.h
mtk_hdmi.c
mtk_hdmi.h
mtk_mipi_tx.c
mtk_mt2701_hdmi_phy.c
mtk_mt8173_hdmi_phy.c