[linux-nvme:nvme-6.16 40/42] drivers/nvme/host/multipath.c:13:6: sparse: sparse: symbol 'multipath_always_on' was not declared. Should it be static?

kernel test robot lkp at intel.com
Mon May 19 15:47:04 PDT 2025


tree:   git://git.infradead.org/nvme.git nvme-6.16
head:   fc9c5b746e651c57ea8b8d702659db8f2e9847b2
commit: 01e5e7a813c4deafdb4b18ce6623bd693c4d0a57 [40/42] nvme: introduce multipath_always_on module param
config: powerpc64-randconfig-r123-20250520 (https://download.01.org/0day-ci/archive/20250520/202505200655.rD3it4Yp-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 10.5.0
reproduce: (https://download.01.org/0day-ci/archive/20250520/202505200655.rD3it4Yp-lkp@intel.com/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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505200655.rD3it4Yp-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/nvme/host/multipath.c:13:6: sparse: sparse: symbol 'multipath_always_on' was not declared. Should it be static?

vim +/multipath_always_on +13 drivers/nvme/host/multipath.c

    11	
    12	bool multipath = true;
  > 13	bool multipath_always_on;	/* default is flase */
    14	

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



More information about the Linux-nvme mailing list