From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Amit Sunil Dhamne <amitsd@google.com>
Cc: kernel test robot <lkp@intel.com>,
oe-kbuild-all@lists.linux.dev, linux-usb@vger.kernel.org,
Badhri Jagan Sridharan <badhri@google.com>
Subject: Re: [usb:usb-testing 23/28] tcpm.c:undefined reference to `__udivdi3'
Date: Fri, 10 Jul 2026 07:24:41 +0200 [thread overview]
Message-ID: <2026071026-unquote-citric-ccb0@gregkh> (raw)
In-Reply-To: <d0fcf5d4-ed39-42cb-925b-47f72c67f49b@google.com>
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
prev parent reply other threads:[~2026-07-10 5:24 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
2026-07-10 5:24 ` Greg Kroah-Hartman [this message]
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=2026071026-unquote-citric-ccb0@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=amitsd@google.com \
--cc=badhri@google.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.