mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-07 14:51:39 +00:00
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 |
||
|---|---|---|
| .. | ||
| base.c | ||
| dispc_coefs.c | ||
| dispc.c | ||
| dispc.h | ||
| display.c | ||
| dpi.c | ||
| dsi.c | ||
| dss-of.c | ||
| dss.c | ||
| dss.h | ||
| hdmi4_cec.c | ||
| hdmi4_cec.h | ||
| hdmi4_core.c | ||
| hdmi4_core.h | ||
| hdmi4.c | ||
| hdmi5_core.c | ||
| hdmi5_core.h | ||
| hdmi5.c | ||
| hdmi_common.c | ||
| hdmi_phy.c | ||
| hdmi_pll.c | ||
| hdmi_wp.c | ||
| hdmi.h | ||
| Kconfig | ||
| Makefile | ||
| omapdss-boot-init.c | ||
| omapdss.h | ||
| output.c | ||
| pll.c | ||
| sdi.c | ||
| venc.c | ||
| video-pll.c | ||