[linux-nvme:nvme-5.18 4/5] ERROR: modpost: "nvmet_wq" [drivers/nvme/target/nvmet-fc.ko] undefined!

Sagi Grimberg sagi at grimberg.me
Wed Mar 23 09:33:13 PDT 2022


> tree:   git://git.infradead.org/nvme.git nvme-5.18
> head:   84db0c76f3bda283a82c0e883c8f3171048a30bf
> commit: ade7dda8539580e02c9004f124783f320924709b [4/5] nvmet: use a private workqueue instead of the system workqueue
> config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220324/202203240012.gJehzedI-lkp@intel.com/config)
> compiler: gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0
> reproduce (this is a W=1 build):
>          git remote add linux-nvme git://git.infradead.org/nvme.git
>          git fetch --no-tags linux-nvme nvme-5.18
>          git checkout ade7dda8539580e02c9004f124783f320924709b
>          # save the config file to linux build tree
>          mkdir build_dir
>          make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp at intel.com>
> 
> All errors (new ones prefixed by >>, old ones prefixed by <<):
> 
>>> ERROR: modpost: "nvmet_wq" [drivers/nvme/target/nvmet-fc.ko] undefined!
>>> ERROR: modpost: "nvmet_wq" [drivers/nvme/target/nvme-loop.ko] undefined!

Damn... patch slipped:
--
diff --git a/drivers/nvme/target/core.c b/drivers/nvme/target/core.c
index 18444eaf35ab..dbd528061857 100644
--- a/drivers/nvme/target/core.c
+++ b/drivers/nvme/target/core.c
@@ -18,6 +18,7 @@
  struct workqueue_struct *buffered_io_wq;
  struct workqueue_struct *zbd_wq;
  struct workqueue_struct *nvmet_wq;
+EXPORT_SYMBOL_GPL(nvmet_wq);
  static const struct nvmet_fabrics_ops *nvmet_transports[NVMF_TRTYPE_MAX];
  static DEFINE_IDA(cntlid_ida);
--

Christoph, can you fold it in or should I?



More information about the Linux-nvme mailing list