From: kernel test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [arnd-playground:randconfig-5.16-next 137/151] include/asm-generic/futex.h:17:9: error: implicit declaration of function 'futex_atomic_cmpxchg_inatomic_local_generic'; did you mean 'futex_atomic_cmpxchg_inatomic_local'?
Date: Sat, 30 Oct 2021 05:05:59 +0800 [thread overview]
Message-ID: <202110300551.LJI8JzbX-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3762 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git randconfig-5.16-next
head: d18f89e8161c4cf63dd554521b305dd3374b52b3
commit: 2db331c581c8cc2f8742223470ca5cdd8d7fc312 [137/151] [SUBMITTED 20211026] futex: ensure futex_atomic_cmpxchg_inatomic() is present
config: nios2-buildonly-randconfig-r005-20211028 (attached as .config)
compiler: nios2-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/commit/?id=2db331c581c8cc2f8742223470ca5cdd8d7fc312
git remote add arnd-playground https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git
git fetch --no-tags arnd-playground randconfig-5.16-next
git checkout 2db331c581c8cc2f8742223470ca5cdd8d7fc312
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=nios2
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from ./arch/nios2/include/generated/asm/futex.h:1,
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:9: error: implicit declaration of function 'futex_atomic_cmpxchg_inatomic_local_generic'; did you mean 'futex_atomic_cmpxchg_inatomic_local'? [-Werror=implicit-function-declaration]
17 | futex_atomic_cmpxchg_inatomic_local_generic(uval, uaddr, oldval, newval)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/futex.h:17:9: note: in definition of macro 'futex_atomic_cmpxchg_inatomic'
17 | futex_atomic_cmpxchg_inatomic_local_generic(uval, uaddr, oldval, newval)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
In file included from ./arch/nios2/include/generated/asm/futex.h:1,
from kernel/futex/futex.h:12,
from kernel/futex/waitwake.c:7:
kernel/futex/waitwake.c: In function 'futex_atomic_op_inuser':
>> include/asm-generic/futex.h:19:9: error: implicit declaration of function 'arch_futex_atomic_op_inuser_local_generic'; did you mean 'futex_atomic_op_inuser_local'? [-Werror=implicit-function-declaration]
19 | arch_futex_atomic_op_inuser_local_generic(op, oparg, oval, uaddr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/futex.h:19:9: note: in definition of macro 'arch_futex_atomic_op_inuser'
19 | arch_futex_atomic_op_inuser_local_generic(op, oparg, oval, uaddr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +17 include/asm-generic/futex.h
8
9 #ifndef futex_atomic_cmpxchg_inatomic
10 #ifndef CONFIG_SMP
11 /*
12 * The following implementation only for uniprocessor machines.
13 * It relies on preempt_disable() ensuring mutual exclusion.
14 *
15 */
16 #define futex_atomic_cmpxchg_inatomic(uval, uaddr, oldval, newval) \
> 17 futex_atomic_cmpxchg_inatomic_local_generic(uval, uaddr, oldval, newval)
18 #define arch_futex_atomic_op_inuser(op, oparg, oval, uaddr) \
> 19 arch_futex_atomic_op_inuser_local_generic(op, oparg, oval, uaddr)
20 #endif /* CONFIG_SMP */
21 #endif
22
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 40352 bytes --]
reply other threads:[~2021-10-29 21:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202110300551.LJI8JzbX-lkp@intel.com \
--to=lkp@intel.com \
--cc=arnd@arndb.de \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®