lkml.org 
[lkml]   [2013]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 1/3] arm: mvebu: add missing of_node_put() to fix reference leak
Dear Thomas,

On Mon, 26 Aug 2013 03:02:00 -0700
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote:

> Dear Jisheng Zhang,
>
> On Mon, 26 Aug 2013 17:56:19 +0800, Jisheng Zhang wrote:
>
> > diff --git a/arch/arm/mach-mvebu/armada-370-xp.c
> > b/arch/arm/mach-mvebu/armada-370-xp.c index 97cbb80..8a1ae83 100644
> > --- a/arch/arm/mach-mvebu/armada-370-xp.c
> > +++ b/arch/arm/mach-mvebu/armada-370-xp.c
> > @@ -64,6 +64,7 @@ static void __init armada_370_xp_mbus_init(void)
> > ARMADA_370_XP_MBUS_WINS_SIZE,
> > of_translate_address(dn, &sdram_wins_offs),
> > ARMADA_370_XP_SDRAM_WINS_SIZE);
> > + of_node_put(dn);
> > }
>
> With the integration of Ezequiel patches that add DT support to the
> mvebu-mbus driver, this chunk of the code is no longer needed, as of
> linux-next.
>
Got it. Thanks for the information. Will send v4 latter

Thanks,
Jisheng



\
 
 \ /
  Last update: 2013-08-26 13:01    [W:0.040 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site