tree:
git://git.infradead.org/users/hch/misc.git nvme-scanning-fixes
head: ea7e931e12a90f09a5944c7353e148c875ca34a4
commit: 7b4997d34373e67d98f830c9a95800da9d1bddc0 [7/10] nvme: factor out the zone
revalidation code from nvme_revalidate_disk
config: x86_64-randconfig-a006-20200818 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
4deda57106f7c9b982a49cb907c33e3966c8de7f)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 7b4997d34373e67d98f830c9a95800da9d1bddc0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/nvme/host/core.c:2177:10: error: implicit declaration of
function 'nvme_revalidate_zones' [-Werror,-Wimplicit-function-declaration]
return nvme_revalidate_zones(disk->private_data);
^
drivers/nvme/host/core.c:2177:10: note: did you mean 'nvme_revalidate_disk'?
drivers/nvme/host/core.c:2168:12: note: 'nvme_revalidate_disk' declared here
static int nvme_revalidate_disk(struct gendisk *disk)
^
1 error generated.
git remote add hch-misc
git://git.infradead.org/users/hch/misc.git
git fetch --no-tags hch-misc nvme-scanning-fixes
git checkout 7b4997d34373e67d98f830c9a95800da9d1bddc0
vim +/nvme_revalidate_zones +2177 drivers/nvme/host/core.c
2167
2168 static int nvme_revalidate_disk(struct gendisk *disk)
2169 {
2170 int ret;
2171
2172 ret = _nvme_revalidate_disk(disk);
2173 if (ret)
2174 return ret;
2175
2176 if (IS_ENABLED(CONFIG_BLK_DEV_ZONED) &&
blk_queue_is_zoned(disk->queue))
2177 return nvme_revalidate_zones(disk->private_data);
2178 return 0;
2179 }
2180
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org