tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 47c1c54d1bcd0a69a56b49473bc20f17b70e5242 commit: d199ae4cc6d8886b7f1c8048d0150168660e7f9f [12304/12343] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git config: microblaze-randconfig-s031-20220516 (https://download.01.org/0day-ci/archive/20220517/202205172344.3GFeaum1-lkp@xxxxxxxxx/config) compiler: microblaze-linux-gcc (GCC) 11.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=d199ae4cc6d8886b7f1c8048d0150168660e7f9f git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout d199ae4cc6d8886b7f1c8048d0150168660e7f9f # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=microblaze SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): microblaze-linux-ld: drivers/nvme/host/fc.o: in function `nvme_fc_io_getuuid': >> drivers/nvme/host/fc.c:1914: undefined reference to `blkcg_get_fc_appid' vim +1914 drivers/nvme/host/fc.c 19fce0470f0503 James Smart 2020-12-01 1901 980a0e068d14ac Muneendra 2022-05-10 1902 /* 980a0e068d14ac Muneendra 2022-05-10 1903 * nvme_fc_io_getuuid - Routine called to get the appid field 980a0e068d14ac Muneendra 2022-05-10 1904 * associated with request by the lldd 980a0e068d14ac Muneendra 2022-05-10 1905 * @req:IO request from nvme fc to driver 980a0e068d14ac Muneendra 2022-05-10 1906 * Returns: UUID if there is an appid associated with VM or 980a0e068d14ac Muneendra 2022-05-10 1907 * NULL if the user/libvirt has not set the appid to VM 980a0e068d14ac Muneendra 2022-05-10 1908 */ 980a0e068d14ac Muneendra 2022-05-10 1909 char *nvme_fc_io_getuuid(struct nvmefc_fcp_req *req) 980a0e068d14ac Muneendra 2022-05-10 1910 { 980a0e068d14ac Muneendra 2022-05-10 1911 struct nvme_fc_fcp_op *op = fcp_req_to_fcp_op(req); 980a0e068d14ac Muneendra 2022-05-10 1912 struct request *rq = op->rq; 980a0e068d14ac Muneendra 2022-05-10 1913 980a0e068d14ac Muneendra 2022-05-10 @1914 return rq->bio ? blkcg_get_fc_appid(rq->bio) : NULL; 980a0e068d14ac Muneendra 2022-05-10 1915 } 980a0e068d14ac Muneendra 2022-05-10 1916 EXPORT_SYMBOL_GPL(nvme_fc_io_getuuid); 980a0e068d14ac Muneendra 2022-05-10 1917 :::::: The code at line 1914 was first introduced by commit :::::: 980a0e068d14ac82c78beb93c97e8e9a630367a3 scsi: nvme-fc: Add new routine nvme_fc_io_getuuid() :::::: TO: Muneendra <muneendra.kumar@xxxxxxxxxxxx> :::::: CC: Martin K. Petersen <martin.petersen@xxxxxxxxxx> -- 0-DAY CI Kernel Test Service https://01.org/lkp