Re: linux-next: build failure after merge of the akpm-current tree

From: Stephen Rothwell
Date: Tue Jun 09 2020 - 23:44:33 EST


Hi all,

On Tue, 9 Jun 2020 22:42:52 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> After merging the akpm-current tree, today's linux-next build (sparc
> defconfig) failed like this:
>
> In file included from include/linux/mm.h:32:0,
> from include/linux/memblock.h:13,
> from arch/sparc/mm/srmmu.c:14:
> include/linux/pgtable.h:74:27: error: redefinition of 'pte_offset_kernel'
> #define pte_offset_kernel pte_offset_kernel
> ^
> arch/sparc/mm/srmmu.c:144:8: note: in expansion of macro 'pte_offset_kernel'
> pte_t *pte_offset_kernel(pmd_t *dir, unsigned long address)
> ^~~~~~~~~~~~~~~~~
> include/linux/pgtable.h:70:22: note: previous definition of 'pte_offset_kernel' was here
> static inline pte_t *pte_offset_kernel(pmd_t *pmd, unsigned long address)
> ^~~~~~~~~~~~~~~~~
>
> Caused by commit
>
> 292aa65ed13a ("mm: consolidate pte_index() and pte_offset_*() definitions")

This breakage is now in Linus' tree :-(

--
Cheers,
Stephen Rothwell

Attachment: pgpzYtCdswwZv.pgp
Description: OpenPGP digital signature