public inbox for linux-nvme@lists.infradead.org
 help / color / mirror / Atom feed
* [linux-nvme:nvme-6.8 4/16] drivers/nvme/host/sysfs.c:42: undefined reference to `nvme_ns_head_ops'
@ 2024-01-03 11:23 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-01-03 11:23 UTC (permalink / raw)
  To: Guixin Liu
  Cc: oe-kbuild-all, linux-nvme, Keith Busch, Sagi Grimberg,
	Christoph Hellwig, Liu Song

tree:   git://git.infradead.org/nvme.git nvme-6.8
head:   3b99fc0cd3a7e44fb294d9f6c13173f3dadf4136
commit: 44bc827e396809faa6a4e2dc9bd5f148373ce88b [4/16] nvme: introduce nvme_disk_is_ns_head helper
config: i386-randconfig-015-20240103 (https://download.01.org/0day-ci/archive/20240103/202401031943.0N72Tkji-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240103/202401031943.0N72Tkji-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401031943.0N72Tkji-lkp@intel.com/

All errors (new ones prefixed by >>):

   ld: drivers/nvme/host/sysfs.o: in function `dev_to_ns_head':
>> drivers/nvme/host/sysfs.c:42: undefined reference to `nvme_ns_head_ops'
>> ld: drivers/nvme/host/sysfs.c:42: undefined reference to `nvme_ns_head_ops'
>> ld: drivers/nvme/host/sysfs.c:42: undefined reference to `nvme_ns_head_ops'
>> ld: drivers/nvme/host/sysfs.c:42: undefined reference to `nvme_ns_head_ops'
>> ld: drivers/nvme/host/sysfs.c:42: undefined reference to `nvme_ns_head_ops'
   ld: drivers/nvme/host/sysfs.o:drivers/nvme/host/sysfs.c:42: more undefined references to `nvme_ns_head_ops' follow


vim +42 drivers/nvme/host/sysfs.c

    37	
    38	static inline struct nvme_ns_head *dev_to_ns_head(struct device *dev)
    39	{
    40		struct gendisk *disk = dev_to_disk(dev);
    41	
  > 42		if (nvme_disk_is_ns_head(disk))
    43			return disk->private_data;
    44		return nvme_get_ns_from_dev(dev)->head;
    45	}
    46	

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-03 11:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-03 11:23 [linux-nvme:nvme-6.8 4/16] drivers/nvme/host/sysfs.c:42: undefined reference to `nvme_ns_head_ops' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox