Messages in this thread | | | Date | Thu, 31 Mar 2022 17:45:05 +0800 | From | kernel test robot <> | Subject | Re: [PATCH v3] riscv: Ensure only ASIDLEN is used for sfence.vma |
| |
Hi Alistair,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master] [also build test ERROR on v5.17 next-20220331] [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/intel-lab-lkp/linux/commits/Alistair-Francis/riscv-Ensure-only-ASIDLEN-is-used-for-sfence-vma/20220331-140116 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 787af64d05cd528aac9ad16752d11bb1c6061bb9 config: riscv-nommu_k210_defconfig (https://download.01.org/0day-ci/archive/20220331/202203311731.xi8xw0gy-lkp@intel.com/config) compiler: riscv64-linux-gcc (GCC) 11.2.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 # https://github.com/intel-lab-lkp/linux/commit/162147030f410152d028af446a7383e3c9410f55 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Alistair-Francis/riscv-Ensure-only-ASIDLEN-is-used-for-sfence-vma/20220331-140116 git checkout 162147030f410152d028af446a7383e3c9410f55 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=riscv SHELL=/bin/bash arch/riscv/mm/
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
arch/riscv/mm/context.c: In function 'get_mm_asid': >> arch/riscv/mm/context.c:307:45: error: 'mm_context_t' has no member named 'id' 307 | return atomic_long_read(&mm->context.id) & asid_mask; | ^ >> arch/riscv/mm/context.c:307:52: error: 'asid_mask' undeclared (first use in this function); did you mean 'pid_task'? 307 | return atomic_long_read(&mm->context.id) & asid_mask; | ^~~~~~~~~ | pid_task arch/riscv/mm/context.c:307:52: note: each undeclared identifier is reported only once for each function it appears in arch/riscv/mm/context.c:308:1: error: control reaches end of non-void function [-Werror=return-type] 308 | } | ^ cc1: some warnings being treated as errors
vim +307 arch/riscv/mm/context.c
304 305 unsigned long get_mm_asid(struct mm_struct *mm) 306 { > 307 return atomic_long_read(&mm->context.id) & asid_mask; 308 } 309
-- 0-DAY CI Kernel Test Service https://01.org/lkp
| |