Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [axboe:nvme-raw-queues 6/16] drivers/nvme/host/pci.c:2421:3: error: field designator 'register_queue' does not refer to any field in type 'const struct blk_mq_ops'
@ 2026-05-06 16:46 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-06 16:46 UTC (permalink / raw)
  To: Kanchan Joshi; +Cc: llvm, oe-kbuild-all, Jens Axboe, Anuj Gupta

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git nvme-raw-queues
head:   38cfa7887dc8d403af2baa576d06c438408a192c
commit: 6c88c997f65b7435f11d31654c1d5007c6f82335 [6/16] pci: implement register/unregister functionality
config: loongarch-randconfig-001 (https://download.01.org/0day-ci/archive/20260507/202605070041.kByaHcMe-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260507/202605070041.kByaHcMe-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/202605070041.kByaHcMe-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/nvme/host/pci.c:2421:3: error: field designator 'register_queue' does not refer to any field in type 'const struct blk_mq_ops'
    2421 |         .register_queue = nvme_pci_register_queue,
         |         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/nvme/host/pci.c:2422:3: error: field designator 'unregister_queue' does not refer to any field in type 'const struct blk_mq_ops'
    2422 |         .unregister_queue =  nvme_pci_unregister_queue,
         |         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   2 errors generated.


vim +2421 drivers/nvme/host/pci.c

  2410	
  2411	static const struct blk_mq_ops nvme_mq_ops = {
  2412		.queue_rq	= nvme_queue_rq,
  2413		.queue_rqs	= nvme_queue_rqs,
  2414		.complete	= nvme_pci_complete_rq,
  2415		.commit_rqs	= nvme_commit_rqs,
  2416		.init_hctx	= nvme_init_hctx,
  2417		.init_request	= nvme_pci_init_request,
  2418		.map_queues	= nvme_pci_map_queues,
  2419		.timeout	= nvme_timeout,
  2420		.poll		= nvme_poll,
> 2421		.register_queue	= nvme_pci_register_queue,
> 2422		.unregister_queue =  nvme_pci_unregister_queue,
  2423	};
  2424	

-- 
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:[~2026-05-06 16:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-06 16:46 [axboe:nvme-raw-queues 6/16] drivers/nvme/host/pci.c:2421:3: error: field designator 'register_queue' does not refer to any field in type 'const struct blk_mq_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