All of lore.kernel.org
 help / color / mirror / Atom feed
* [bcache:zoned 1/3] drivers/md/bcache/request.c:1325:9: error: implicit declaration of function 'blkdev_report_zones'
@ 2020-05-23  8:04 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-23  8:04 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2652 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/colyli/linux-bcache.git zoned
head:   9560b14e9901073c5fca5e5e6c531dbd950b2b04
commit: dbdcbd380a1847351fd02972a53ef07c1dd55065 [1/3] bcache: export bcache zone information for zoned backing device
config: x86_64-randconfig-a013-20200521 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 3393cc4cebf9969db94dc424b7a2b6195589c33b)
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 dbdcbd380a1847351fd02972a53ef07c1dd55065
        # 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: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/md/bcache/request.c:1325:9: error: implicit declaration of function 'blkdev_report_zones' [-Werror,-Wimplicit-function-declaration]
return blkdev_report_zones(dc->bdev,
^
drivers/md/bcache/request.c:1325:9: note: did you mean 'blkdev_nr_zones'?
include/linux/blkdev.h:373:28: note: 'blkdev_nr_zones' declared here
static inline unsigned int blkdev_nr_zones(struct gendisk *disk)
^
1 error generated.
--
>> drivers/md/bcache/super.c:1391:8: error: no member named 'nr_zones' in 'struct request_queue'
d_q->nr_zones = b_q->nr_zones -
~~~  ^
drivers/md/bcache/super.c:1391:24: error: no member named 'nr_zones' in 'struct request_queue'
d_q->nr_zones = b_q->nr_zones -
~~~  ^
2 errors generated.

vim +/blkdev_report_zones +1325 drivers/md/bcache/request.c

  1315	
  1316	static int cached_dev_report_zones(struct bch_report_zones_args *args,
  1317					   unsigned int nr_zones)
  1318	{
  1319		struct bcache_device *d = args->bcache_device;
  1320		struct cached_dev *dc = container_of(d, struct cached_dev, disk);
  1321		/* skip zone 0 which is fully occupied by bcache super block */
  1322		sector_t sector = args->sector + dc->sb.data_offset;
  1323	
  1324		/* sector is real LBA of backing device */
> 1325		return blkdev_report_zones(dc->bdev,
  1326					   sector,
  1327					   nr_zones,
  1328					   cached_dev_report_zones_cb,
  1329					   args);
  1330	}
  1331	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35629 bytes --]

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

only message in thread, other threads:[~2020-05-23  8:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-23  8:04 [bcache:zoned 1/3] drivers/md/bcache/request.c:1325:9: error: implicit declaration of function 'blkdev_report_zones' kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.