* [tip:x86/entry 29/29] include/linux/cpumask.h:894:9: error: implicit declaration of function 'arch_test_bit'; did you mean
@ 2020-06-04 2:50 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-06-04 2:50 UTC (permalink / raw)
To: Peter, Zijlstra,; +Cc: kbuild-all, linux-kernel, x86, Thomas Gleixner
[-- Attachment #1: Type: text/plain, Size: 2186 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/entry
head: 02da62886d81c6683fbd6a09aec02b2c050d5827
commit: 02da62886d81c6683fbd6a09aec02b2c050d5827 [29/29] x86/entry, cpumask: Provide non-instrumented variant of cpu_is_offline()
config: arc-randconfig-r024-20200603 (attached as .config)
compiler: arc-elf-gcc (GCC) 9.3.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
git checkout 02da62886d81c6683fbd6a09aec02b2c050d5827
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
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 >>, old ones prefixed by <<):
In file included from include/linux/rcupdate.h:31,
from include/linux/rculist.h:11,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from arch/arc/kernel/asm-offsets.c:6:
include/linux/cpumask.h: In function 'arch_cpu_online':
>> include/linux/cpumask.h:894:9: error: implicit declaration of function 'arch_test_bit'; did you mean 'test_bit'? [-Werror=implicit-function-declaration]
894 | return arch_test_bit(cpu, cpumask_bits(cpu_online_mask));
| ^~~~~~~~~~~~~
| test_bit
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:100: arch/arc/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1149: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:180: sub-make] Error 2
vim +894 include/linux/cpumask.h
890
891 #if NR_CPUS > 1
892 static __always_inline bool arch_cpu_online(int cpu)
893 {
> 894 return arch_test_bit(cpu, cpumask_bits(cpu_online_mask));
895 }
896 #else
897 static __always_inline bool arch_cpu_online(int cpu)
898 {
899 return cpu == 0;
900 }
901 #endif
902
---
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: 24724 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-04 2:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-04 2:50 [tip:x86/entry 29/29] include/linux/cpumask.h:894:9: error: implicit declaration of function 'arch_test_bit'; did you mean kernel test robot
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®