Hi Greentime, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on v5.14] [cannot apply to linus/master linux/master next-20210908] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Greentime-Hu/riscv-Add-vector-ISA-support/20210909-014904 base: 7d2a07b769330c34b4deabeed939325c77a7ec2f config: riscv-randconfig-r042-20210908 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 9c476172b93367d2cb88d7d3f4b1b5b456fa6020) 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 riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://github.com/0day-ci/linux/commit/0ff49e5b8a3d84bd26a64f68bb4161680ab463ef git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Greentime-Hu/riscv-Add-vector-ISA-support/20210909-014904 git checkout 0ff49e5b8a3d84bd26a64f68bb4161680ab463ef # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): arch/riscv/kernel/process.c:140:39: error: use of undeclared identifier 'riscv_vsize' dst->thread.vstate.datap = kzalloc(riscv_vsize, GFP_KERNEL); ^ arch/riscv/kernel/process.c:146:37: error: use of undeclared identifier 'riscv_vsize' src->thread.vstate.datap, riscv_vsize); ^ >> arch/riscv/kernel/process.c:153:6: warning: no previous prototype for function 'arch_release_task_struct' [-Wmissing-prototypes] void arch_release_task_struct(struct task_struct *tsk) ^ arch/riscv/kernel/process.c:153:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void arch_release_task_struct(struct task_struct *tsk) ^ static 1 warning and 2 errors generated. vim +/arch_release_task_struct +153 arch/riscv/kernel/process.c 152 > 153 void arch_release_task_struct(struct task_struct *tsk) 154 { 155 /* Free the vector context of datap. */ 156 if (has_vector) 157 kfree(tsk->thread.vstate.datap); 158 } 159 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org