mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Srinivas Kandagatla <srini@kernel.org>
To: Michael Walle <michael@walle.cc>,
	 Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	 linux-kernel@vger.kernel.org,
	 Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Cc: stable@vger.kernel.org
Subject: Re: [PATCH 1/2] nvmem: Drop OF node reference on nvmem_add_one_cell() failure
Date: Thu, 15 Jan 2026 11:04:11 +0000	[thread overview]
Message-ID: <176847505176.52334.6176414458558837392.b4-ty@kernel.org> (raw)
In-Reply-To: <20251231120949.66744-3-krzysztof.kozlowski@oss.qualcomm.com>


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@kernel.org>


      parent reply	other threads:[~2026-01-15 11:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-31 12:09 Krzysztof Kozlowski
2025-12-31 12:09 ` [PATCH 2/2] nvmem: Simplify with scoped for each OF child loop Krzysztof Kozlowski
2026-01-15 11:04 ` Srinivas Kandagatla [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=176847505176.52334.6176414458558837392.b4-ty@kernel.org \
    --to=srini@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=krzysztof.kozlowski@oss.qualcomm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michael@walle.cc \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®