linux_dsm_epyc7002/drivers/gpu/drm/omapdrm
Wen Yang 47340e46f3 drm/omap: fix possible object reference leak
The call to of_find_matching_node returns a node pointer with refcount
incremented thus it must be explicitly decremented after the last
usage.

Detected by coccinelle with the following warnings:
drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c:212:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 209, but without a corresponding object release within this function.
drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c:237:1-7: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 209, but without a corresponding object release within this function.

Signed-off-by: Wen Yang <wen.yang99@zte.com.cn>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Sebastian Reichel <sebastian.reichel@collabora.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org
Cc: Markus Elfring <Markus.Elfring@web.de>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1554692313-28882-2-git-send-email-wen.yang99@zte.com.cn
2020-02-11 11:46:51 +02:00
..
displays drm/omap: use true,false for bool variable 2020-02-11 09:19:29 +02:00
dss drm/omap: fix possible object reference leak 2020-02-11 11:46:51 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +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
omap_connector.c drm/panel: decouple connector from drm_panel 2019-12-09 22:57:26 +01:00
omap_connector.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
omap_crtc.c drm/omapdrm: Fix trivial spelling 2020-02-11 09:22:08 +02:00
omap_crtc.h drm main pull request for v5.3-rc1 (sans mm changes) 2019-07-15 19:04:27 -07:00
omap_debugfs.c Linus 5.3-rc1 2019-07-22 21:24:10 +02:00
omap_dmm_priv.h drm/omap: partial workaround for DRA7xx DMM errata i878 2018-10-02 09:36:56 +03:00
omap_dmm_tiler.c drm/omap: dmm_tiler: Remove the dma_async_issue_pending() call 2020-02-11 09:29:01 +02:00
omap_dmm_tiler.h drm/omap: remove OMAP_BO_TILED define 2019-10-11 17:02:32 +03:00
omap_drv.c drm/bridge: Introduce drm_bridge_get_next_bridge() 2019-12-09 10:02:22 +01:00
omap_drv.h Linus 5.3-rc1 2019-07-22 21:24:10 +02:00
omap_encoder.c drm/bridge: Introduce drm_bridge_get_next_bridge() 2019-12-09 10:02:22 +01:00
omap_encoder.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
omap_fb.c drm/omap: Remove set but not used variable 'plane' 2019-10-14 14:20:22 +03:00
omap_fb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
omap_fbdev.c drm: constify fb ops across all drivers 2019-12-05 10:57:42 +02:00
omap_fbdev.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
omap_gem_dmabuf.c drm/omapdrm: Drop dma_buf->k(un)map 2019-11-25 22:36:14 +01:00
omap_gem.c drm/omap: fix dma_addr refcounting 2019-12-04 19:11:28 +02:00
omap_gem.h Linus 5.3-rc1 2019-07-22 21:24:10 +02:00
omap_irq.c Linus 5.3-rc1 2019-07-22 21:24:10 +02:00
omap_irq.h drm main pull request for v5.3-rc1 (sans mm changes) 2019-07-15 19:04:27 -07:00
omap_plane.c drm/omap: Add 'alpha' and 'pixel blend mode' plane properties 2019-08-23 10:15:11 +03:00
omap_plane.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
tcm-sita.c drm/omap: silence unititialized variable warning 2018-05-07 10:19:11 -04:00
tcm.h drm: omapdrm: Use kernel integer types 2018-03-01 09:09:10 +02:00
TODO