Re: linux-next: build failure after merge of the akpm-current tree

From: Michal Hocko
Date: Mon Aug 12 2013 - 03:23:26 EST


On Mon 12-08-13 16:09:11, Stephen Rothwell wrote:
> [Just adding some missed ccs]
>
> On Mon, 12 Aug 2013 16:07:33 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> >
> > Hi Andrew,
> >
> > After merging the akpm-current tree, today's linux-next build
> > (x86_64 allmodconfig) failed like this:
> >
> > mm/memcontrol.c: In function '__mem_cgroup_iter_next':
> > mm/memcontrol.c:982:4: error: 'prev_cgroup' undeclared (first use in this function)
> > prev_cgroup = next_cgroup;
> > ^
> > mm/memcontrol.c:982:18: error: 'next_cgroup' undeclared (first use in this function)
> > prev_cgroup = next_cgroup;
> > ^
> >
> > I applied this patch:

Yes it looks good. Sorry, I have missed it when sending merge
resolution.

Thanks for the fixup.

> > From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> > Date: Mon, 12 Aug 2013 16:04:36 +1000
> > Subject: [PATCH] memcontrol: further merge fix patch
> >
> > Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> > ---
> > mm/memcontrol.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/mm/memcontrol.c b/mm/memcontrol.c
> > index 624d69e..a367145 100644
> > --- a/mm/memcontrol.c
> > +++ b/mm/memcontrol.c
> > @@ -979,7 +979,7 @@ skip_node:
> >
> > switch (mem_cgroup_filter(mem, root, cond)) {
> > case SKIP:
> > - prev_cgroup = next_cgroup;
> > + prev_css = next_css;
> > goto skip_node;
> > case SKIP_TREE:
> > if (mem == root)
> > @@ -998,7 +998,7 @@ skip_node:
> > if (css_tryget(&mem->css))
> > return mem;
> > else {
> > - prev_cgroup = next_cgroup;
> > + prev_css = next_css;
> > goto skip_node;
> > }
> > break;
> > --
> > 1.8.4.rc0
>
> --
> Cheers,
> Stephen Rothwell sfr@xxxxxxxxxxxxxxxx



--
Michal Hocko
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/