[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YrqFYqem4t/oM0ys@atomide.com>
Date: Tue, 28 Jun 2022 07:36:50 +0300
From: Tony Lindgren <tony@...mide.com>
To: Laurent Pinchart <laurent.pinchart@...asonboard.com>
Cc: Miaoqian Lin <linmq006@...il.com>,
Russell King <linux@...linux.org.uk>,
Tomi Valkeinen <tomi.valkeinen@...com>,
Sebastian Reichel <sebastian.reichel@...labora.com>,
linux-arm-kernel@...ts.infradead.org, linux-omap@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM: OMAP2+: Fix refcount leak in omapdss_init_of
* Laurent Pinchart <laurent.pinchart@...asonboard.com> [220601 06:46]:
> Hello Lin,
>
> Thank you for the patch.
>
> On Wed, Jun 01, 2022 at 08:48:58AM +0400, Miaoqian Lin wrote:
> > omapdss_find_dss_of_node() calls of_find_compatible_node() to get device
> > node. of_find_compatible_node() returns a node pointer with refcount
> > incremented, we should use of_node_put() on it when done.
> > Add missing of_node_put() in later error path and normal path.
> >
> > Fixes: e0c827aca0730 ("drm/omap: Populate DSS children in omapdss driver")
> > Signed-off-by: Miaoqian Lin <linmq006@...il.com>
>
> Reviewed-by: Laurent Pinchart <laurent.pinchart@...asonboard.com>
Thanks applying this into omap-for-v5.20/soc.
Regards,
Tony
Powered by blists - more mailing lists