[dm-devel] [dm:for-next 10/14] drivers/md/dm.c:1089:5: error: 'struct bio' has no member named 'bi_error'; did you mean 'bi_iter'?

kbuild test robot fengguang.wu at intel.com
Mon Jun 12 23:42:22 UTC 2017


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next
head:   efc857919fd776a9f8ca2824a87adc32285cba15
commit: 7a8ce0902a42d8b5bc126dddc2c90adaf7b7a73c [10/14] dm: introduce dm_remap_zone_report()
config: x86_64-randconfig-x019-201724 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 7a8ce0902a42d8b5bc126dddc2c90adaf7b7a73c
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/md/dm.c: In function 'dm_remap_zone_report':
>> drivers/md/dm.c:1089:5: error: 'struct bio' has no member named 'bi_error'; did you mean 'bi_iter'?
     bio->bi_error = -ENOTSUPP;
        ^~

vim +1089 drivers/md/dm.c

  1083			kunmap_atomic(hdr);
  1084		}
  1085	
  1086		bio_advance(report_bio, report_bio->bi_iter.bi_size);
  1087	
  1088	#else /* !CONFIG_BLK_DEV_ZONED */
> 1089		bio->bi_error = -ENOTSUPP;
  1090	#endif
  1091	}
  1092	EXPORT_SYMBOL_GPL(dm_remap_zone_report);

---
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: 33788 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20170613/036a8e68/attachment.gz>


More information about the dm-devel mailing list