tree: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git block-dm-4.21-inflight head: d694c9be5e3948e25ce95162fac9ab47ecc8c589 commit: 2f111f36ecbedc0cff9e87cdca3bfecc71d210d5 [5/6] block: switch to per-cpu in-flight counters config: i386-randconfig-x001-201847 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: git checkout 2f111f36ecbedc0cff9e87cdca3bfecc71d210d5 # save the attached .config to linux build tree make ARCH=i386
All errors (new ones prefixed by >>):
drivers//md/dm.c: In function 'md_in_flight':
>> drivers//md/dm.c:651:40: error: 'struct hd_struct' has no member named
>> 'in_flight'
return atomic_read(&dm_disk(md)->part0.in_flight[READ]) +
^
drivers//md/dm.c:652:40: error: 'struct hd_struct' has no member named
'in_flight'
atomic_read(&dm_disk(md)->part0.in_flight[WRITE]);
^
drivers//md/dm.c:653:1: warning: control reaches end of non-void function
[-Wreturn-type]
}
^
vim +651 drivers//md/dm.c
^1da177e Linus Torvalds 2005-04-16 648
4cc96131 Mike Snitzer 2016-05-12 649 int md_in_flight(struct mapped_device
*md)
90abb8c4 Kiyoshi Ueda 2009-12-10 650 {
5fc19e40 Mikulas Patocka 2018-11-06 @651 return
atomic_read(&dm_disk(md)->part0.in_flight[READ]) +
5fc19e40 Mikulas Patocka 2018-11-06 652
atomic_read(&dm_disk(md)->part0.in_flight[WRITE]);
90abb8c4 Kiyoshi Ueda 2009-12-10 653 }
90abb8c4 Kiyoshi Ueda 2009-12-10 654
:::::: The code at line 651 was first introduced by commit
:::::: 5fc19e40ec570e8b403f8b073d3332b540834a77 dm: remove the pending variable
:::::: TO: Mikulas Patocka <[email protected]>
:::::: CC: Mike Snitzer <[email protected]>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip
-- dm-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/dm-devel
