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-x000-201840 (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//md/dm-linear.c: In function 'linear_report_zones':
>> drivers//md/dm-linear.c:146:8: error: implicit declaration of function 
>> 'blkdev_report_zones'; did you mean 'linear_report_zones'? 
>> [-Werror=implicit-function-declaration]
     ret = blkdev_report_zones(lc->dev->bdev, linear_map_sector(ti, sector),
           ^~~~~~~~~~~~~~~~~~~
           linear_report_zones
   cc1: some warnings being treated as errors
--
   drivers//md/dm-flakey.c: In function 'flakey_report_zones':
>> drivers//md/dm-flakey.c:459:8: error: implicit declaration of function 
>> 'blkdev_report_zones'; did you mean 'flakey_report_zones'? 
>> [-Werror=implicit-function-declaration]
     ret = blkdev_report_zones(fc->dev->bdev, flakey_map_sector(ti, sector),
           ^~~~~~~~~~~~~~~~~~~
           flakey_report_zones
   cc1: some warnings being treated as errors

vim +146 drivers//md/dm-linear.c

   137  
   138  static int linear_report_zones(struct dm_target *ti, sector_t sector,
   139                                 struct blk_zone *zones, unsigned int 
*nr_zones,
   140                                 gfp_t gfp_mask)
   141  {
   142          struct linear_c *lc = (struct linear_c *) ti->private;
   143          int ret;
   144  
   145          /* Do report and remap it */
 > 146          ret = blkdev_report_zones(lc->dev->bdev, linear_map_sector(ti, 
 > sector),
   147                                    zones, nr_zones, gfp_mask);
   148          if (ret != 0)
   149                  return ret;
   150  
   151          if (*nr_zones)
   152                  dm_remap_zone_report(ti, lc->start, zones, nr_zones);
   153          return 0;
   154  }
   155  

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to