[dm:dm-4.12 30/33] drivers/md/dm-cache-target.c:1581:3: error: implicit declaration of function 'bio_complete'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: .config.gz
Description: application/gzip

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux