[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176847505176.52334.6176414458558837392.b4-ty@kernel.org>
Date: Thu, 15 Jan 2026 11:04:11 +0000
From: Srinivas Kandagatla <srini@...nel.org>
To: Michael Walle <michael@...le.cc>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski@....qualcomm.com>
Cc: stable@...r.kernel.org
Subject: Re: [PATCH 1/2] nvmem: Drop OF node reference on
nvmem_add_one_cell() failure
On Wed, 31 Dec 2025 13:09:50 +0100, Krzysztof Kozlowski wrote:
> If nvmem_add_one_cell() failed, the ownership of "child" (or "info.np"),
> thus its OF reference, is not passed further and function should clean
> up by putting the reference it got via earlier of_node_get(). Note that
> this is independent of references obtained via for_each_child_of_node()
> loop.
>
>
> [...]
Applied, thanks!
[1/2] nvmem: Drop OF node reference on nvmem_add_one_cell() failure
commit: 3bc276e70c0cd66350a9a5d39bd3f638de362941
[2/2] nvmem: Simplify with scoped for each OF child loop
commit: f28a32e7a5c5eb27679236d0aa20979f0353f52e
Best regards,
--
Srinivas Kandagatla <srini@...nel.org>
Powered by blists - more mailing lists