[linux-next:master 13398/13762] arch/riscv/kernel/vendor_extensions/andes.c:11:33: sparse: sparse: symbol 'riscv_isa_vendor_ext_andes' was not declared. Should it be static?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   9ec6ec93f2c1e6cd2911e2a4acd5ac85e13bb3e2
commit: 23c996fc2bc1978a02c64eddb90b4ab5d309c8df [13398/13762] riscv: Extend cpufeature.c to detect vendor extensions
config: riscv-randconfig-r123-20240724 (https://download.01.org/0day-ci/archive/20240724/202407241530.ej5SVgX1-lkp@xxxxxxxxx/config)
compiler: riscv64-linux-gcc (GCC) 14.1.0
reproduce: (https://download.01.org/0day-ci/archive/20240724/202407241530.ej5SVgX1-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202407241530.ej5SVgX1-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> arch/riscv/kernel/vendor_extensions/andes.c:11:33: sparse: sparse: symbol 'riscv_isa_vendor_ext_andes' was not declared. Should it be static?

vim +/riscv_isa_vendor_ext_andes +11 arch/riscv/kernel/vendor_extensions/andes.c

     9	
    10	/* All Andes vendor extensions supported in Linux */
  > 11	const struct riscv_isa_ext_data riscv_isa_vendor_ext_andes[] = {
    12		__RISCV_ISA_EXT_DATA(xandespmu, RISCV_ISA_VENDOR_EXT_XANDESPMU),
    13	};
    14	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux