Re: [PATCH v2 1/3] hwmon: (pmbus/tps25990): Rework TPS25990 non standatd direct conversion
From: kernel test robot
Date: Fri Feb 13 2026 - 04:10:59 EST
Hi Stoyan,
kernel test robot noticed the following build errors:
[auto build test ERROR on groeck-staging/hwmon-next]
[also build test ERROR on linus/master v6.19 next-20260212]
[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/Stoyan-Bogdanov/hwmon-pmbus-tps25990-Rework-TPS25990-non-standatd-direct-conversion/20260213-081713
base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
patch link: https://lore.kernel.org/r/20260213001408.2454567-2-sbogdanov%40baylibre.com
patch subject: [PATCH v2 1/3] hwmon: (pmbus/tps25990): Rework TPS25990 non standatd direct conversion
config: i386-randconfig-011-20260213 (https://download.01.org/0day-ci/archive/20260213/202602131712.Lruy3UMc-lkp@xxxxxxxxx/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260213/202602131712.Lruy3UMc-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/202602131712.Lruy3UMc-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
ld: drivers/hwmon/pmbus/tps25990.o: in function `tps25990_value_to_raw':
>> drivers/hwmon/pmbus/tps25990.c:86:(.text+0x1e3): undefined reference to `__udivdi3'
ld: drivers/hwmon/pmbus/tps25990.o: in function `tps25990_raw_to_value':
drivers/hwmon/pmbus/tps25990.c:68:(.text+0x4d8): undefined reference to `__udivdi3'
vim +86 drivers/hwmon/pmbus/tps25990.c
74
75 static unsigned int tps25990_value_to_raw(struct i2c_client *client, int param, int val)
76 {
77 struct tps25990_data *data = (struct tps25990_data *)of_device_get_match_data(&client->dev);
78 struct local_direct_value *info_local = data->info_local;
79
80 /* Formula : Y = ( m * X + b) * 10^R */
81 val = (long)val * info_local->m[param] + info_local->b[param];
82
83 if (info_local->R[param] >= 0)
84 val *= int_pow(10, info_local->R[param]);
85 else
> 86 val = DIV_ROUND_CLOSEST(val, int_pow(10, -info_local->R[param]));
87
88 return val;
89 }
90
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki