mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Yang Yingliang <yangyingliang@huawei.com>
Cc: lgirdwood@gmail.com, javier@osg.samsung.com,
	mirq-linux@rere.qmqm.pl, christian@kohlschutter.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] regulator: core: fix resource leak in regulator_register()
Date: Thu, 1 Dec 2022 17:19:09 +0000	[thread overview]
Message-ID: <Y4jiDYmblQsRGwcd@sirena.org.uk> (raw)
In-Reply-To: <20221201122706.4055992-3-yangyingliang@huawei.com>

[-- Attachment #1: Type: text/plain, Size: 394 bytes --]

On Thu, Dec 01, 2022 at 08:27:06PM +0800, Yang Yingliang wrote:
> I got some resource leak reports while doing fault injection test:
> 
>   OF: ERROR: memory leak, expected refcount 1 instead of 100,
>   of_node_get()/of_node_put() unbalanced - destroy cset entry:
>   attach overlay node /i2c/pmic@64/regulators/buck1

This doesn't apply against current code, please check and resend.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2022-12-01 17:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-01 12:27 [PATCH 0/2] regulator: core: fix some resource leaks Yang Yingliang
2022-12-01 12:27 ` [PATCH 1/2] regulator: core: fix module refcount leak in set_supply() Yang Yingliang
2022-12-01 12:27 ` [PATCH 2/2] regulator: core: fix resource leak in regulator_register() Yang Yingliang
2022-12-01 17:19   ` Mark Brown [this message]
2022-12-01 18:16 ` [PATCH 0/2] regulator: core: fix some resource leaks Mark Brown

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=Y4jiDYmblQsRGwcd@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=christian@kohlschutter.com \
    --cc=javier@osg.samsung.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mirq-linux@rere.qmqm.pl \
    --cc=yangyingliang@huawei.com \
    /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®