Re: [PATCH v4 next 6/9] lib: test_mul_u64_u64_div_u64: Test both generic and arch versions
From: kernel test robot
Date: Sat Nov 01 2025 - 17:00:11 EST
Hi David,
kernel test robot noticed the following build warnings:
[auto build test WARNING on next-20251029]
url: https://github.com/intel-lab-lkp/linux/commits/David-Laight/lib-mul_u64_u64_div_u64-rename-parameter-c-to-d/20251030-025633
base: next-20251029
patch link: https://lore.kernel.org/r/20251029173828.3682-7-david.laight.linux%40gmail.com
patch subject: [PATCH v4 next 6/9] lib: test_mul_u64_u64_div_u64: Test both generic and arch versions
config: i386-buildonly-randconfig-004-20251102 (https://download.01.org/0day-ci/archive/20251102/202511020421.ZZPBAIIw-lkp@xxxxxxxxx/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251102/202511020421.ZZPBAIIw-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511020421.ZZPBAIIw-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> lib/math/test_mul_u64_u64_div_u64.c:142:9: warning: '__div64_32' macro redefined [-Wmacro-redefined]
142 | #define __div64_32 __div64_32
| ^
arch/x86/include/asm/div64.h:78:9: note: previous definition is here
78 | #define __div64_32
| ^
1 warning generated.
vim +/__div64_32 +142 lib/math/test_mul_u64_u64_div_u64.c
140
141 /* Compile the generic mul_u64_add_u64_div_u64() code */
> 142 #define __div64_32 __div64_32
143 #define div_s64_rem div_s64_rem
144 #define div64_u64_rem div64_u64_rem
145 #define div64_u64 div64_u64
146 #define div64_s64 div64_s64
147 #define iter_div_u64_rem iter_div_u64_rem
148
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki