linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Liang He <windhl@126.com>
Cc: sgoutham@marvell.com, davem@davemloft.net, edumazet@google.com,
	pabeni@redhat.com, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] net: thunder_bgx: Fix refcount leak bug in bgx_init_of_phy()
Date: Fri, 22 Jul 2022 10:38:26 -0700	[thread overview]
Message-ID: <20220722103826.6a059a69@kernel.org> (raw)
In-Reply-To: <20220722152048.1310499-1-windhl@126.com>

On Fri, 22 Jul 2022 23:20:48 +0800 Liang He wrote:
> We should call of_node_put() for the reference returned by
> of_parse_phandle() in fail path or when it is not used
> anymore.
> 
> Fixes: eee326fd8334 ("net: thunderx: bgx: Use standard firmware node infrastructure.")
> Signed-off-by: Liang He <windhl@126.com>

cc netdev@

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

      reply	other threads:[~2022-07-22 17:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-22 15:20 [PATCH] net: thunder_bgx: Fix refcount leak bug in bgx_init_of_phy() Liang He
2022-07-22 17:38 ` Jakub Kicinski [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=20220722103826.6a059a69@kernel.org \
    --to=kuba@kernel.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=pabeni@redhat.com \
    --cc=sgoutham@marvell.com \
    --cc=windhl@126.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;
as well as URLs for NNTP newsgroup(s).