Re: [PATCH v3 17/50] drm/omap: Fix possible object reference leak

2019-12-16 Thread Tomi Valkeinen
On 11/12/2019 00:57, Laurent Pinchart wrote: From: Wen Yang 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:

[PATCH v3 17/50] drm/omap: Fix possible object reference leak

2019-12-10 Thread Laurent Pinchart
From: Wen Yang 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