[PATCH][next] arm64: fix the mm build error in mm/kfence/core.c

Stephen Rothwell sfr at canb.auug.org.au
Mon Dec 7 15:32:14 EST 2020


Hi Marco,

On Mon, 7 Dec 2020 15:52:07 +0100 Marco Elver <elver at google.com> wrote:
>
> On Sun, 6 Dec 2020 at 23:08, Marco Elver <elver at google.com> wrote:
> > On Sun, 6 Dec 2020 at 22:23, Stephen Rothwell <sfr at canb.auug.org.au> wrote:  
> [...]
> > > > ../arch/arm64/include/asm/kfence.h:12:2: error: implicit declaration of
> > > > function ‘set_memory_valid’ [-Werror=implicit-function-declaration]
> > > >    12 |  set_memory_valid(addr, 1, !protect);
> > > >       |  ^~~~~~~~~~~~~~~~
> > > > cc1: some warnings being treated as errors
> > > >
> > > > which introduced by commit d54febeba2ff ("kfence: use pt_regs to
> > > > generate stack trace on faults").
> > > >
> > > > Signed-off-by: Hui Su <sh_def at 163.com>
> > > > ---
> > > >  arch/arm64/include/asm/kfence.h | 1 +
> > > >  1 file changed, 1 insertion(+)  
> >
> > Thanks, but a patch for this is already in the -mm tree:
> > https://lore.kernel.org/mm-commits/20201205011409.o9PNsRntR%25akpm@linux-foundation.org/
> >
> > Perhaps try the latest -next?  
> 
> Although I notice that patch somehow was dropped from -mm, or maybe
> I'm not looking hard enough?

It may just be that Andrew has not published that version of his patch
series yet.

-- 
Cheers,
Stephen Rothwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20201208/4445227d/attachment.sig>


More information about the linux-arm-kernel mailing list