Re: [PATCH v6 6/7] power: supply: max77705: Add fuel gauge driver for Maxim 77705

From: kernel test robot
Date: Fri Oct 11 2024 - 07:35:37 EST


Hi Dzmitry,

kernel test robot noticed the following build errors:

[auto build test ERROR on 58ca61c1a866bfdaa5e19fb19a2416764f847d75]

url: https://github.com/intel-lab-lkp/linux/commits/Dzmitry-Sankouski/power-supply-add-undervoltage-health-status-property/20241008-000014
base: 58ca61c1a866bfdaa5e19fb19a2416764f847d75
patch link: https://lore.kernel.org/r/20241007-starqltechn_integration_upstream-v6-6-0d38b5090c57%40gmail.com
patch subject: [PATCH v6 6/7] power: supply: max77705: Add fuel gauge driver for Maxim 77705
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20241011/202410111913.5ADtNHNM-lkp@xxxxxxxxx/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/20241011/202410111913.5ADtNHNM-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/202410111913.5ADtNHNM-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

ld: drivers/power/supply/max77705_fuel_gauge.o: in function `max77705_fg_get_property':
>> max77705_fuel_gauge.c:(.text+0x244): undefined reference to `__divdi3'
>> ld: max77705_fuel_gauge.c:(.text+0x2b1): undefined reference to `__udivdi3'
ld: drivers/power/supply/max77705_fuel_gauge.o: in function `max77705_fg_vs_convert':
>> max77705_fuel_gauge.c:(.text+0x6c2): undefined reference to `__udivdi3'
ld: drivers/power/supply/max77705_fuel_gauge.o: in function `max77705_fg_cs_convert':
max77705_fuel_gauge.c:(.text+0x706): undefined reference to `__divdi3'

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for MODVERSIONS
Depends on [n]: MODULES [=y] && !COMPILE_TEST [=y]
Selected by [y]:
- RANDSTRUCT_FULL [=y] && (CC_HAS_RANDSTRUCT [=n] || GCC_PLUGINS [=y]) && MODULES [=y]
WARNING: unmet direct dependencies detected for GET_FREE_REGION
Depends on [n]: SPARSEMEM [=n]
Selected by [y]:
- RESOURCE_KUNIT_TEST [=y] && RUNTIME_TESTING_MENU [=y] && KUNIT [=y]

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