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

Stephen Rothwell
2024-03-28T04:29:15Z

[-- Attachment #1: Type: text/plain, Size: 860 bytes --]

Hi all,

On Thu, 28 Mar 2024 09:59:52 +0800 Baoquan He <bhe@redhat.com> 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.