[linux-nvme:nvme-5.9 34/40] drivers/nvme/host/core.c:3567:1: sparse: sparse: symbol 'dev_attr_ctrl_loss_tmo' was not declared. Should it be

kernel test robot lkp at intel.com
Tue Jul 7 06:50:16 EDT 2020


tree:   git://git.infradead.org/nvme.git nvme-5.9
head:   f6fef27de378d96ea545d8125ab72102cac954c9
commit: 3be72d5b2ac2332319f86c0a22e514e0054100fc [34/40] nvme: expose reconnect_delay and ctrl_loss_tmo via sysfs
config: i386-randconfig-s001-20200707 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.2-31-gabbfd661-dirty
        git checkout 3be72d5b2ac2332319f86c0a22e514e0054100fc
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>


sparse warnings: (new ones prefixed by >>)

>> drivers/nvme/host/core.c:3567:1: sparse: sparse: symbol 'dev_attr_ctrl_loss_tmo' was not declared. Should it be static?
   drivers/nvme/host/core.c:1569:16: sparse: sparse: context imbalance in 'nvme_get_ns_from_disk' - wrong count at exit
   include/linux/srcu.h:179:9: sparse: sparse: context imbalance in 'nvme_put_ns_from_disk' - unexpected unlock

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 32265 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-nvme/attachments/20200707/97173ec9/attachment-0001.gz>


More information about the Linux-nvme mailing list