Re: linux-next: Tree for Jan 10

From: Anders Roxell
Date: Fri Jan 10 2020 - 05:11:55 EST


On Fri, 10 Jan 2020 at 09:07, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> Hi all,
>
> Changes since 20200109:

I see the following build error on arm64:

../arch/arm64/mm/dump.c: In function âptdump_walkâ:
../arch/arm64/mm/dump.c:326:2: error: too few arguments to function
âptdump_walk_pgdâ
ptdump_walk_pgd(&st.ptdump, info->mm);
^~~~~~~~~~~~~~~
In file included from ../arch/arm64/mm/dump.c:18:
../include/linux/ptdump.h:20:6: note: declared here
void ptdump_walk_pgd(struct ptdump_state *st, struct mm_struct *mm,
pgd_t *pgd);
^~~~~~~~~~~~~~~
../arch/arm64/mm/dump.c: In function âptdump_check_wxâ:
../arch/arm64/mm/dump.c:364:2: error: too few arguments to function
âptdump_walk_pgdâ
ptdump_walk_pgd(&st.ptdump, &init_mm);
^~~~~~~~~~~~~~~
In file included from ../arch/arm64/mm/dump.c:18:
../include/linux/ptdump.h:20:6: note: declared here
void ptdump_walk_pgd(struct ptdump_state *st, struct mm_struct *mm,
pgd_t *pgd);
^~~~~~~~~~~~~~~
make[3]: *** [../scripts/Makefile.build:266: arch/arm64/mm/dump.o] Error 1
make[3]: Target '__build' not remade because of errors.
make[2]: *** [../scripts/Makefile.build:503: arch/arm64/mm] Error 2
make[2]: Target '__build' not remade because of errors.
make[1]: *** [/srv/jenkins/kernel/randconfig/Makefile:1683: arch/arm64] Error 2

I think something happened when applying patch [1], the changes in
arch/arm64/mm/dump.c
got dropped somehow. What that intended ?


Cheers,
Anders
[1] https://lore.kernel.org/lkml/20200108145710.34314-1-steven.price@xxxxxxx/