[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202301141655.AhJtzXCb-lkp@intel.com>
Date: Sat, 14 Jan 2023 16:52:39 +0800
From: kernel test robot <lkp@...el.com>
To: qixiaoyu1 <qxy65535@...il.com>, Jaegeuk Kim <jaegeuk@...nel.org>,
Chao Yu <yuchao0@...wei.com>, Chao Yu <chao@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
linux-f2fs-devel@...ts.sourceforge.net, xiongping1@...omi.com,
qixiaoyu1 <qixiaoyu1@...omi.com>
Subject: Re: [PATCH 1/2] f2fs: fix wrong calculation of block age
Hi qixiaoyu1,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on v6.2-rc3]
[also build test ERROR on linus/master next-20230113]
[cannot apply to jaegeuk-f2fs/dev-test jaegeuk-f2fs/dev]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/qixiaoyu1/f2fs-add-sysfs-nodes-to-set-last_age_weight/20230113-211357
patch link: https://lore.kernel.org/r/20230113125859.15651-1-qixiaoyu1%40xiaomi.com
patch subject: [PATCH 1/2] f2fs: fix wrong calculation of block age
config: i386-randconfig-a014
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/intel-lab-lkp/linux/commit/17ca20d13dd15a8fb4689cbe1817a8d037915199
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review qixiaoyu1/f2fs-add-sysfs-nodes-to-set-last_age_weight/20230113-211357
git checkout 17ca20d13dd15a8fb4689cbe1817a8d037915199
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 olddefconfig
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
ld: fs/f2fs/extent_cache.o: in function `__calculate_block_age':
>> fs/f2fs/extent_cache.c:877: undefined reference to `__udivdi3'
>> ld: fs/f2fs/extent_cache.c:877: undefined reference to `__udivdi3'
vim +877 fs/f2fs/extent_cache.c
873
874 static unsigned long long __calculate_block_age(unsigned long long new,
875 unsigned long long old)
876 {
> 877 return new - new / 100 * LAST_AGE_WEIGHT + old / 100 * LAST_AGE_WEIGHT;
878 }
879
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
View attachment "config" of type "text/plain" (168552 bytes)
Powered by blists - more mailing lists