tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
queue-5.10
head: 097676f2c9643c3fb32f11c3f6c4226a50bb0cd7
commit: ac942c10370bec545de2e7778d5f4e8a5910a845 [36/73] rcu/nocb: Trigger self-IPI on
late deferred wake up before user resume
config: powerpc64-randconfig-r034-20210318 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
fcc1ce00931751ac02498986feb37744e9ace8de)
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
# install powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/c...
git remote add sashal-linux-stable
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-linux-stable queue-5.10
git checkout ac942c10370bec545de2e7778d5f4e8a5910a845
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> kernel/rcu/tree.c:682:2: error: implicit declaration of function
'IRQ_WORK_INIT' [-Werror,-Wimplicit-function-declaration]
IRQ_WORK_INIT(late_wakeup_func);
^
> kernel/rcu/tree.c:681:40: error: initializing 'typeof(struct
irq_work)' (aka 'struct irq_work') with an expression of incompatible type
'int'
static DEFINE_PER_CPU(struct irq_work, late_wakeup_work) =
^
include/linux/percpu-defs.h:115:31: note: expanded from macro 'DEFINE_PER_CPU'
DEFINE_PER_CPU_SECTION(type, name, "")
^
include/linux/percpu-defs.h:95:44: note: expanded from macro
'DEFINE_PER_CPU_SECTION'
__PCPU_ATTRS(sec) __weak __typeof__(type) name
^
2 errors generated.
vim +/IRQ_WORK_INIT +682 kernel/rcu/tree.c
680
681 static DEFINE_PER_CPU(struct irq_work, late_wakeup_work) =
682 IRQ_WORK_INIT(late_wakeup_func);
683
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org