[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZONDNOMJ0h7c/jbC@smile.fi.intel.com>
Date: Mon, 21 Aug 2023 13:57:56 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: "Peng Fan (OSS)" <peng.fan@....nxp.com>
Cc: robh+dt@...nel.org, krzysztof.kozlowski+dt@...aro.org,
conor+dt@...nel.org, frowand.list@...il.com,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
gregkh@...uxfoundation.org, linux@...linux.org.uk, arnd@...db.de,
linus.walleij@...aro.org, jeremy.kerr@...onical.com,
isaacmanjarres@...gle.com, hdegoede@...hat.com,
ulf.hansson@...aro.org, rafael@...nel.org,
grant.likely@...retlab.ca, Peng Fan <peng.fan@....com>
Subject: Re: [PATCH V3 1/2] amba: bus: fix refcount leak
On Mon, Aug 21, 2023 at 10:39:27AM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@....com>
>
> commit 5de1540b7bc4 ("drivers/amba: create devices from device tree")
> increases the refcount of of_node, but not releases it in
> amba_device_release, so there is refcount leak. By using of_node_put
> to avoid refcount leak.
LGTM,
Reviewed-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists