Hi Naohiro,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[cannot apply to v5.3-rc5 next-20190823]
[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/Naohiro-Aota/btrfs-zoned-block-device-support/20190824-160033
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gcc (GCC) 7.4.0
reproduce:
        wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=sparc64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <[email protected]>

All errors (new ones prefixed by >>):

   fs/btrfs/hmzoned.c: In function 'btrfs_get_dev_zones':
>> fs/btrfs/hmzoned.c:25:8: error: too many arguments to function 
>> 'blkdev_report_zones'
     ret = blkdev_report_zones(device->bdev, pos >> SECTOR_SHIFT,
           ^~~~~~~~~~~~~~~~~~~
   In file included from fs/btrfs/hmzoned.c:10:0:
   include/linux/blkdev.h:353:12: note: declared here
    extern int blkdev_report_zones(struct block_device *bdev,
               ^~~~~~~~~~~~~~~~~~~

vim +/blkdev_report_zones +25 fs/btrfs/hmzoned.c

    18  
    19  static int btrfs_get_dev_zones(struct btrfs_device *device, u64 pos,
    20                                 struct blk_zone *zones,
    21                                 unsigned int *nr_zones, gfp_t gfp_mask)
    22  {
    23          int ret;
    24  
  > 25          ret = blkdev_report_zones(device->bdev, pos >> SECTOR_SHIFT,
    26                                    zones, nr_zones, gfp_mask);
    27          if (ret != 0) {
    28                  btrfs_err_in_rcu(device->fs_info,
    29                                   "get zone at %llu on %s failed %d", 
pos,
    30                                   rcu_str_deref(device->name), ret);
    31                  return ret;
    32          }
    33          if (!*nr_zones)
    34                  return -EIO;
    35  
    36          return 0;
    37  }
    38  

---
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