* [usb:usb-testing 23/28] tcpm.c:undefined reference to `__udivdi3'
@ 2026-07-09 14:17 kernel test robot
2026-07-09 22:13 ` Amit Sunil Dhamne
0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2026-07-09 14:17 UTC (permalink / raw)
To: Amit Sunil Dhamne
Cc: oe-kbuild-all, linux-usb, Greg Kroah-Hartman,
Badhri Jagan Sridharan
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
head: 472ce6621e371aafc03c0704d1d940f51d8159db
commit: b3c9b6925ca2e02ef2fd77d0aa5e0ca6b2a67f5a [23/28] usb: typec: tcpm: Add support for Battery Status response message
config: i386-buildonly-randconfig-005 (https://download.01.org/0day-ci/archive/20260709/202607092212.lINETdSF-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260709/202607092212.lINETdSF-lkp@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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202607092212.lINETdSF-lkp@intel.com/
All errors (new ones prefixed by >>):
ld: drivers/usb/typec/tcpm/tcpm.o: in function `tcpm_pd_send_batt_status.constprop.0':
>> tcpm.c:(.text+0x6743): undefined reference to `__udivdi3'
>> ld: tcpm.c:(.text+0x6764): undefined reference to `__udivdi3'
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [usb:usb-testing 23/28] tcpm.c:undefined reference to `__udivdi3'
2026-07-09 14:17 [usb:usb-testing 23/28] tcpm.c:undefined reference to `__udivdi3' kernel test robot
@ 2026-07-09 22:13 ` Amit Sunil Dhamne
2026-07-10 5:24 ` Greg Kroah-Hartman
0 siblings, 1 reply; 3+ messages in thread
From: Amit Sunil Dhamne @ 2026-07-09 22:13 UTC (permalink / raw)
To: kernel test robot
Cc: oe-kbuild-all, linux-usb, Greg Kroah-Hartman,
Badhri Jagan Sridharan
Hi Greg,
On 7/9/26 7:17 AM, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
> head: 472ce6621e371aafc03c0704d1d940f51d8159db
> commit: b3c9b6925ca2e02ef2fd77d0aa5e0ca6b2a67f5a [23/28] usb: typec: tcpm: Add support for Battery Status response message
> config: i386-buildonly-randconfig-005 (https://download.01.org/0day-ci/archive/20260709/202607092212.lINETdSF-lkp@intel.com/config)
> compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260709/202607092212.lINETdSF-lkp@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 <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202607092212.lINETdSF-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> ld: drivers/usb/typec/tcpm/tcpm.o: in function `tcpm_pd_send_batt_status.constprop.0':
>>> tcpm.c:(.text+0x6743): undefined reference to `__udivdi3'
>>> ld: tcpm.c:(.text+0x6764): undefined reference to `__udivdi3'
W=1 build fails in 32 bit architectures as I have directly used "/"
operator for division in my patch instead of the kernel helpers. I have
a fix for this. I will send a new revision for the original series [1],
hope that's okay?
[1]
https://lore.kernel.org/all/20260701-batt-status-v4-0-a31d97b1ae57@google.com/
Thanks,
Amit
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [usb:usb-testing 23/28] tcpm.c:undefined reference to `__udivdi3'
2026-07-09 22:13 ` Amit Sunil Dhamne
@ 2026-07-10 5:24 ` Greg Kroah-Hartman
0 siblings, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2026-07-10 5:24 UTC (permalink / raw)
To: Amit Sunil Dhamne
Cc: kernel test robot, oe-kbuild-all, linux-usb,
Badhri Jagan Sridharan
On Thu, Jul 09, 2026 at 03:13:10PM -0700, Amit Sunil Dhamne wrote:
> Hi Greg,
>
> On 7/9/26 7:17 AM, kernel test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
> > head: 472ce6621e371aafc03c0704d1d940f51d8159db
> > commit: b3c9b6925ca2e02ef2fd77d0aa5e0ca6b2a67f5a [23/28] usb: typec: tcpm: Add support for Battery Status response message
> > config: i386-buildonly-randconfig-005 (https://download.01.org/0day-ci/archive/20260709/202607092212.lINETdSF-lkp@intel.com/config)
> > compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260709/202607092212.lINETdSF-lkp@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 <lkp@intel.com>
> > | Closes: https://lore.kernel.org/oe-kbuild-all/202607092212.lINETdSF-lkp@intel.com/
> >
> > All errors (new ones prefixed by >>):
> >
> > ld: drivers/usb/typec/tcpm/tcpm.o: in function `tcpm_pd_send_batt_status.constprop.0':
> > > > tcpm.c:(.text+0x6743): undefined reference to `__udivdi3'
> > > > ld: tcpm.c:(.text+0x6764): undefined reference to `__udivdi3'
>
> W=1 build fails in 32 bit architectures as I have directly used "/" operator
> for division in my patch instead of the kernel helpers. I have a fix for
> this. I will send a new revision for the original series [1], hope that's
> okay?
>
>
> [1] https://lore.kernel.org/all/20260701-batt-status-v4-0-a31d97b1ae57@google.com/
Yes please, I'll drop the current series and wait for a new one.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-07-10 5:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-09 14:17 [usb:usb-testing 23/28] tcpm.c:undefined reference to `__udivdi3' kernel test robot
2026-07-09 22:13 ` Amit Sunil Dhamne
2026-07-10 5:24 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox