[dm-devel] [dm:dm-4.12 30/33] drivers/md/dm-cache-target.c:1581:3: error: implicit declaration of function 'bio_complete'
kbuild test robot
fengguang.wu at intel.com
Thu Feb 23 21:29:42 UTC 2017
tree: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git dm-4.12
head: 6e0e0be26ca65b9ba581c44dea8b163ebb6cf60c
commit: 99edc741bc221751bdcf8a13b935d082e12bbfeb [30/33] [dm-cache] put passthrough back in
config: x86_64-rhel (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout 99edc741bc221751bdcf8a13b935d082e12bbfeb
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
drivers/md/dm-cache-target.c: In function 'invalidate_complete':
>> drivers/md/dm-cache-target.c:1581:3: error: implicit declaration of function 'bio_complete' [-Werror=implicit-function-declaration]
bio_complete(mg->overwrite_bio, -EIO);
^~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/bio_complete +1581 drivers/md/dm-cache-target.c
1575 if (dm_cell_unlock_v2(cache->prison, mg->cell, &bios))
1576 free_prison_cell(cache, mg->cell);
1577
1578 if (success)
1579 defer_bio(cache, mg->overwrite_bio);
1580 else
> 1581 bio_complete(mg->overwrite_bio, -EIO);
1582
1583 free_migration(mg);
1584 defer_bios(cache, &bios);
---
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: 38265 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20170224/0f1421ad/attachment.gz>
More information about the dm-devel
mailing list