[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200611081344.56d96113@canb.auug.org.au>
Date: Thu, 11 Jun 2020 08:13:44 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Guenter Roeck <linux@...ck-us.net>
Cc: Mike Rapoport <rppt@...ux.ibm.com>, linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH] mm: consolidate pte_index() and pte_offset_*()
definitions
Hi Guenter,
On Wed, 10 Jun 2020 13:42:12 -0700 Guenter Roeck <linux@...ck-us.net> wrote:
>
> Building sparc32:defconfig ... failed
> --------------
> Error log:
> <stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp]
> In file included from include/linux/mm.h:32,
> 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'
> 74 | #define pte_offset_kernel pte_offset_kernel
> | ^~~~~~~~~~~~~~~~~
> arch/sparc/mm/srmmu.c:144:8: note: in expansion of macro 'pte_offset_kernel'
> 144 | 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
> 70 | static inline pte_t *pte_offset_kernel(pmd_t *pmd, unsigned long address)
> | ^~~~~~~~~~~~~~~~~
This was reported on Tuesday (by me among others) and is fixed in
Linus' tree now.
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists