[rcu:dev.2018.08.05a 251/252] kernel/rcu/rcu.h:440:20: error: two or more data types in declaration specifiers
From: kbuild test robot
Date: Tue Aug 14 2018 - 14:34:04 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2018.08.05a
head: 4ad5aae97b17143dae19dcef5984c5e47417064a
commit: 411ec41811aa1c759a8c717edf917f9f00ca731e [251/252] srcu: Make call_srcu() available during very early boot
config: ia64-allnoconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 8.1.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 411ec41811aa1c759a8c717edf917f9f00ca731e
# save the attached .config to linux build tree
GCC_VERSION=8.1.0 make.cross ARCH=ia64
All errors (new ones prefixed by >>):
In file included from kernel/rcu/update.c:58:
>> kernel/rcu/rcu.h:440:20: error: two or more data types in declaration specifiers
static inline void void srcu_init(void) { }
^~~~
vim +440 kernel/rcu/rcu.h
436
437 #ifdef CONFIG_SRCU
438 void srcu_init(void);
439 #else /* #ifdef CONFIG_SRCU */
> 440 static inline void void srcu_init(void) { }
441 #endif /* #else #ifdef CONFIG_SRCU */
442
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip