[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166980022428.3017288.10905643901571385394.b4-ty@ellerman.id.au>
Date: Wed, 30 Nov 2022 20:23:44 +1100
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Miaoqian Lin <linmq006@...il.com>,
Michael Ellerman <mpe@...erman.id.au>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Frederic Barrat <fbarrat@...ux.ibm.com>,
linux-kernel@...r.kernel.org,
Christophe Lombard <clombard@...ux.vnet.ibm.com>,
Andrew Donnellan <ajd@...ux.ibm.com>,
Arnd Bergmann <arnd@...db.de>, linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH] cxl: Fix refcount leak in cxl_calc_capp_routing
On Sun, 5 Jun 2022 10:00:38 +0400, Miaoqian Lin wrote:
> of_get_next_parent() returns a node pointer with refcount incremented,
> we should use of_node_put() on it when not need anymore.
> This function only calls of_node_put() in normal path,
> missing it in the error path.
> Add missing of_node_put() to avoid refcount leak.
>
>
> [...]
Applied to powerpc/next.
[1/1] cxl: Fix refcount leak in cxl_calc_capp_routing
https://git.kernel.org/powerpc/c/1d09697ff22908ae487fc8c4fbde1811732be523
cheers
Powered by blists - more mailing lists