Hi Aravind, Thank you for the patch! Yet something to improve: [auto build test ERROR on f2fs/dev-test] [also build test ERROR on next-20200702] [cannot apply to v5.8-rc3] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Aravind-Ramesh/f2fs-zns-zone-capacity-support/20200702-235735 base: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev-test config: arm64-randconfig-r002-20200701 (attached as .config) compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 003a086ffc0d1affbb8300b36225fb8150a2d40a) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> fs/f2fs/super.c:3058:50: error: no member named 'capacity' in 'struct blk_zone' rz_args->dev->zone_capacity_blocks[idx] = zone->capacity >> ~~~~ ^ fs/f2fs/super.c:3060:25: error: no member named 'capacity' in 'struct blk_zone' if (zone->len != zone->capacity && !rz_args->zone_cap_mismatch) ~~~~ ^ 2 errors generated. vim +3058 fs/f2fs/super.c 3048 3049 static int f2fs_report_zone_cb(struct blk_zone *zone, unsigned int idx, 3050 void *data) 3051 { 3052 struct f2fs_report_zones_args *rz_args = data; 3053 3054 if (zone->type == BLK_ZONE_TYPE_CONVENTIONAL) 3055 return 0; 3056 3057 set_bit(idx, rz_args->dev->blkz_seq); > 3058 rz_args->dev->zone_capacity_blocks[idx] = zone->capacity >> 3059 F2FS_LOG_SECTORS_PER_BLOCK; 3060 if (zone->len != zone->capacity && !rz_args->zone_cap_mismatch) 3061 rz_args->zone_cap_mismatch = true; 3062 3063 return 0; 3064 } 3065 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip