[dm-devel] [PATCH 10/11] block: add a report_zones method

kbuild test robot lkp at intel.com
Wed Oct 10 16:25:23 UTC 2018


Hi Christoph,

I love your patch! Yet something to improve:

[auto build test ERROR on block/for-next]
[also build test ERROR on v4.19-rc7]
[cannot apply to next-20181010]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Damien-Le-Moal/Zoned-block-device-support-improvements/20181010-190504
base:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
config: x86_64-randconfig-e2-10081527 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

>> drivers/block/null_blk_main.c:1509:18: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .report_zones = null_zone_report,
                     ^~~~~~~~~~~~~~~~
   drivers/block/null_blk_main.c:1509:18: note: (near initialization for 'null_fops.report_zones')
   cc1: some warnings being treated as errors

vim +1509 drivers/block/null_blk_main.c

  1504	
  1505	static const struct block_device_operations null_fops = {
  1506		.owner =	THIS_MODULE,
  1507		.open =		null_open,
  1508		.release =	null_release,
> 1509		.report_zones =	null_zone_report,
  1510	};
  1511	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 29846 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20181011/0c17b48b/attachment.gz>


More information about the dm-devel mailing list