Hi Jaegeuk,

FYI, the error/warning was bisected to this commit, please ignore it if it's 
irrelevant.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git 
dev-test
head:   4469e8487429b45bba20b1f95f34143a1a16ab5d
commit: 728f5c019e921428fac77ee4fd48a03b2d435c19 [18/20] f2fs: use 
BLKS_PER_SEG, BLKS_PER_SEC, and SEGS_PER_SEC
config: i386-randconfig-001-20240210 
(https://download.01.org/0day-ci/archive/20240210/202402101027.xby2m1xd-...@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20240210/202402101027.xby2m1xd-...@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <l...@intel.com>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/202402101027.xby2m1xd-...@intel.com/

All errors (new ones prefixed by >>):

   ld: fs/f2fs/segment.o: in function `get_blocktype_secs':
>> fs/f2fs/f2fs.h:2522: undefined reference to `__divdi3'
>> ld: fs/f2fs/f2fs.h:2522: undefined reference to `__divdi3'
>> ld: fs/f2fs/f2fs.h:2522: undefined reference to `__divdi3'
>> ld: fs/f2fs/f2fs.h:2522: undefined reference to `__divdi3'
>> ld: fs/f2fs/f2fs.h:2522: undefined reference to `__divdi3'


vim +2522 fs/f2fs/f2fs.h

  2519  
  2520  static inline int get_blocktype_secs(struct f2fs_sb_info *sbi, int 
block_type)
  2521  {
> 2522          return (get_pages(sbi, block_type) + BLKS_PER_SEC(sbi) - 1) /
  2523                                                          
BLKS_PER_SEC(sbi);
  2524  }
  2525  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to