Hi Greentime,
I love your patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[also build test WARNING on v5.8-rc2 next-20200623]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Greentime-Hu/riscv-Add-context-t...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
dd0d718152e4c65b173070d48ea9dfc06894c3e5
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> arch/riscv/kernel/smp.c:129:6: warning: no previous prototype for
'arch_irq_work_raise' [-Wmissing-prototypes]
129 | void
arch_irq_work_raise(void)
| ^~~~~~~~~~~~~~~~~~~
vim +/arch_irq_work_raise +129 arch/riscv/kernel/smp.c
127
128 #ifdef CONFIG_IRQ_WORK
129 void arch_irq_work_raise(void)
130 {
131 send_ipi_single(smp_processor_id(), IPI_IRQ_WORK);
132 }
133 #endif
134
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org