* [ammarfaizi2-block:palmer/linux/riscv-ftrace_mutex_fix 1/1] arch/riscv/include/asm/ftrace.h:90:38: error: expected identifier or '(' before numeric constant
@ 2022-03-23 19:54 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-23 19:54 UTC (permalink / raw)
To: Palmer Dabbelt; +Cc: kbuild-all, GNU/Weeb Mailing List, linux-kernel
tree: https://github.com/ammarfaizi2/linux-block palmer/linux/riscv-ftrace_mutex_fix
head: 013eaa62130cd541cb2e7bf58303c509298701a8
commit: 013eaa62130cd541cb2e7bf58303c509298701a8 [1/1] RISC-V: Don't check text_mutex during stop_machine
config: riscv-randconfig-s032-20220323 (https://download.01.org/0day-ci/archive/20220324/[email protected]/config)
compiler: riscv64-linux-gcc (GCC) 11.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://github.com/ammarfaizi2/linux-block/commit/013eaa62130cd541cb2e7bf58303c509298701a8
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block palmer/linux/riscv-ftrace_mutex_fix
git checkout 013eaa62130cd541cb2e7bf58303c509298701a8
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=riscv SHELL=/bin/bash arch/riscv/kernel/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
All errors (new ones prefixed by >>):
In file included from include/linux/ftrace.h:22,
from arch/riscv/kernel/ftrace.c:8:
>> arch/riscv/include/asm/ftrace.h:90:38: error: expected identifier or '(' before numeric constant
90 | #define riscv_ftrace_in_stop_machine 0
| ^
arch/riscv/kernel/ftrace.c:14:5: note: in expansion of macro 'riscv_ftrace_in_stop_machine'
14 | int riscv_ftrace_in_stop_machine;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +90 arch/riscv/include/asm/ftrace.h
88
89 #ifndef __ASSEMBLY__
> 90 #define riscv_ftrace_in_stop_machine 0
91 #endif
92
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-23 19:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-23 19:54 [ammarfaizi2-block:palmer/linux/riscv-ftrace_mutex_fix 1/1] arch/riscv/include/asm/ftrace.h:90:38: error: expected identifier or '(' before numeric constant 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