powerpc/pseries: Fix node leak in update_lmb_associativity_index()

Michael Ellerman patch-notifications at ellerman.id.au
Mon Dec 24 00:27:54 AEDT 2018


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 at ellerman.id.au>

Applied to powerpc next.

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

cheers


More information about the Linuxppc-dev mailing list