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

From: Stephen Rothwell
Date: Thu Mar 28 2024 - 00:29:27 EST


Hi all,

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

Attachment: pgpXyrliNQaA1.pgp
Description: OpenPGP digital signature