Subject: Re: linux-next: build warning after merge of the mm tree

From: Stephen Rothwell <[email-masked]>
Date: Thu, 28 Mar 2024 15:29:11 +1100

Hi all,

On Thu, 28 Mar 2024 09:59:52 +0800 Baoquan He <[email-masked]> wrote:
>
> On 03/28/24 at 09:13am, Stephen Rothwell wrote:
> > 
> > After merging the mm tree, today's linux-next build (arm
> > multi_v7_defconfig) produced this warning:
> > 
> > mm/page_alloc.c: In function 'build_zonelists':
> > mm/page_alloc.c:5324:13: warning: unused variable 'node' [-Wunused-variable]
> >  5324 |         int node, local_node;
> >       |             ^~~~
> > 
> > Introduced by commit
> > 
> >   95d0185255a3 ("mm/page_alloc.c: remove unneeded codes in !NUMA version of build_zonelists()")
> > 
> > from the mm-unstable branch of the mm tree.  
> 
> Thanks. Below code change has been queued on mm-unstable branch to fix it.

In my i386 defconfig build, this became an error, so I applied your fix patch.

-- 
Cheers,
Stephen Rothwell