[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191023201440.GA29860@bogus>
Date: Wed, 23 Oct 2019 15:14:40 -0500
From: Rob Herring <robh@...nel.org>
To: Chris Goldsworthy <cgoldswo@...eaurora.org>
Cc: robh+dt@...nel.org, Chris Goldsworthy <cgoldswo@...eaurora.org>,
devicetree@...r.kernel.org, stable@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] of: reserved_mem: add missing of_node_put() for proper
ref-counting
On Sat, 19 Oct 2019 18:57:24 -0700, Chris Goldsworthy wrote:
> Commit d698a388146c ("of: reserved-memory: ignore disabled memory-region
> nodes") added an early return in of_reserved_mem_device_init_by_idx(), but
> didn't call of_node_put() on a device_node whose ref-count was incremented
> in the call to of_parse_phandle() preceding the early exit.
>
> Fixes: d698a388146c ("of: reserved-memory: ignore disabled memory-region nodes")
> Signed-off-by: Chris Goldsworthy <cgoldswo@...eaurora.org>
> To: Rob Herring <robh+dt@...nel.org>
> Cc: devicetree@...r.kernel.org
> Cc: stable@...r.kernel.org
> Cc: linux-kernel@...r.kernel.org
> Cc: linux-arm-msm@...r.kernel.org
> Cc: linux-arm-kernel@...ts.infradead.org
> ---
> drivers/of/of_reserved_mem.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
Applied, thanks.
Rob
Powered by blists - more mailing lists