From: Amit Sunil Dhamne <amitsd@google.com>
To: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-usb@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Badhri Jagan Sridharan <badhri@google.com>
Subject: Re: [usb:usb-testing 23/28] tcpm.c:undefined reference to `__udivdi3'
Date: Thu, 9 Jul 2026 15:13:10 -0700 [thread overview]
Message-ID: <d0fcf5d4-ed39-42cb-925b-47f72c67f49b@google.com> (raw)
In-Reply-To: <202607092212.lINETdSF-lkp@intel.com>
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
next prev parent reply other threads:[~2026-07-09 22:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2026-07-10 5:24 ` Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d0fcf5d4-ed39-42cb-925b-47f72c67f49b@google.com \
--to=amitsd@google.com \
--cc=badhri@google.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-usb@vger.kernel.org \
--cc=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox