Re: [Next] futex.h:89:9: error: implicit declaration of function 'arch_futex_atomic_op_inuser_local'

From: Arnd Bergmann
Date: Thu Dec 02 2021 - 08:48:39 EST


On Thu, Dec 2, 2021 at 2:29 PM Naresh Kamboju <naresh.kamboju@xxxxxxxxxx> wrote:
>
> While building Linux next 20211202 tag for sh with gcc-10
> following warnings / errors noticed.
>
> make --silent --keep-going --jobs=8
> O=/home/tuxbuild/.cache/tuxmake/builds/current ARCH=mips
> CROSS_COMPILE=mips-linux-gnu- 'CC=sccache mips-linux-gnu-gcc'
> 'HOSTCC=sccache gcc'
> In file included from /builds/linux/kernel/futex/futex.h:12,
> from /builds/linux/kernel/futex/core.c:41:
> /builds/linux/arch/mips/include/asm/futex.h: In function
> 'arch_futex_atomic_op_inuser':
> /builds/linux/arch/mips/include/asm/futex.h:89:9: error: implicit
> declaration of function 'arch_futex_atomic_op_inuser_local'; did you
> mean 'futex_atomic_op_inuser_local'?
> [-Werror=implicit-function-declaration]
> 89 | ret = arch_futex_atomic_op_inuser_local(op, oparg, oval,\
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Again? How many ways are there I can mess this up? It looks like
I managed to introduce a different typo here from the one I already fixed
for m68k. I'll make sure I test build all architectures before sending the
next fixup then.

Arnd