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

Arnd Bergmann
2021-11-26T10:04:11Z

On Fri, Nov 26, 2021 at 4:52 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> After merging the tip tree, today's linux-next build (sparc defconfig)
> failed like this:
>
> In file included from arch/sparc/include/asm/futex_32.h:4:0,
> from arch/sparc/include/asm/futex.h:7,
> from kernel/futex/futex.h:12,
> from kernel/futex/core.c:41:
> kernel/futex/core.c: In function 'futex_cmpxchg_value_locked':
> include/asm-generic/futex.h:17:2: error: implicit declaration of function 'futex_atomic_cmpxchg_inatomic_local_generic'; did you mean 'futex_atomic_cmpxchg_inatomic_local'? [-Werror=implicit-function-declaration]
> futex_atomic_cmpxchg_inatomic_local_generic(uval, uaddr, oldval, newval)
> ^
> include/asm-generic/futex.h:17:2: note: in definition of macro 'futex_atomic_cmpxchg_inatomic'
> futex_atomic_cmpxchg_inatomic_local_generic(uval, uaddr, oldval, newval)
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thanks a lot for the report, I sent a fix now:

https://lore.kernel.org/lkml/20211126095852.455492-1-arnd@kernel.org

Arnd