All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Michael Ellerman <mpe@ellerman.id.au>, linuxppc-dev@ozlabs.org
Subject: Re: powerpc/pseries: Fix node leak in update_lmb_associativity_index()
Date: Mon, 24 Dec 2018 00:27:54 +1100 (AEDT)	[thread overview]
Message-ID: <43N38C1g0jz9sMp@ozlabs.org> (raw)
In-Reply-To: <20181127081644.11499-1-mpe@ellerman.id.au>

On Tue, 2018-11-27 at 08:16:44 UTC, Michael Ellerman wrote:
> In update_lmb_associativity_index() we lookup dr_node using
> of_find_node_by_path() which takes a reference for us. In the
> non-error case we forget to drop the reference. Note that
> find_aa_index() does modify properties of the node, but doesn't need
> an extra reference held once it's returned.
> 
> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

Applied to powerpc next.

https://git.kernel.org/powerpc/c/47918bc68b7427e961035949cc1501

cheers

      reply	other threads:[~2018-12-23 13:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-27  8:16 [PATCH] powerpc/pseries: Fix node leak in update_lmb_associativity_index() Michael Ellerman
2018-12-23 13:27 ` Michael Ellerman [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=43N38C1g0jz9sMp@ozlabs.org \
    --to=patch-notifications@ellerman.id.au \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=mpe@ellerman.id.au \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.