[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200110160734.GA25891@willie-the-truck>
Date: Fri, 10 Jan 2020 16:07:34 +0000
From: Will Deacon <will@...nel.org>
To: Steven Price <steven.price@....com>
Cc: Qian Cai <cai@....pw>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
Catalin Marinas <Catalin.Marinas@....com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"sfr@...b.auug.org.au" <sfr@...b.auug.org.au>
Subject: Re: [PATCH -next] arm64/mm/dump: fix a compilation error
On Fri, Jan 10, 2020 at 03:34:48PM +0000, Steven Price wrote:
> On Fri, Jan 10, 2020 at 02:51:12PM +0000, Qian Cai wrote:
> > The linux-next commit "x86: mm: avoid allocating struct mm_struct on the
> > stack" [1] introduced a compilation error with "arm64: mm: convert
> > mm/dump.c to use walk_page_range()" [2]. Fixed it by using the new API.
> >
> > arch/arm64/mm/dump.c:326:38: error: too few arguments to function call,
> > expected 3, have 2
> > ptdump_walk_pgd(&st.ptdump, info->mm);
> > ~~~~~~~~~~~~~~~ ^
> > ./include/linux/ptdump.h:20:1: note: 'ptdump_walk_pgd' declared here
> > void ptdump_walk_pgd(struct ptdump_state *st, struct mm_struct *mm,
> > pgd_t *pgd);
> > ^
> > arch/arm64/mm/dump.c:364:38: error: too few arguments to function call,
> > expected 3, have 2
> > ptdump_walk_pgd(&st.ptdump, &init_mm);
> > ~~~~~~~~~~~~~~~ ^
> > ./include/linux/ptdump.h:20:1: note: 'ptdump_walk_pgd' declared here
> > void ptdump_walk_pgd(struct ptdump_state *st, struct mm_struct *mm,
> > pgd_t *pgd);
> > ^
> > 2 errors generated.
> >
> > [1] http://lkml.kernel.org/r/20200108145710.34314-1-steven.price@arm.com
>
> Actually this was in the patch I originally posted - somehow it got
> lost when Andrew picked it up.
>
> > [2] http://lkml.kernel.org/r/20191218162402.45610-22-steven.price@arm.com
> >
> > Signed-off-by: Qian Cai <cai@....pw>
>
> Since this matches what I originally wrote... ;)
>
> Reviewed-by: Steven Price <steven.price@....com>
Acked-by: Will Deacon <will@...nel.org>
I'm assuming Andrew will queue this alongside the others.
Thanks,
Will
Powered by blists - more mailing lists