Content-Type: multipart/mixed; boundary="===============1464001516530785897==" MIME-Version: 1.0 From: Conor.Dooley@microchip.com To: kbuild-all@lists.01.org Subject: Re: [PATCH v2 1/2] pwm: add microchip soft ip corePWM driver Date: Tue, 14 Jun 2022 12:16:48 +0000 Message-ID: In-Reply-To: <20220614121312.hfotzvx76i4fda6e@pengutronix.de> List-Id: --===============1464001516530785897== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 14/06/2022 13:13, Uwe Kleine-K=C3=B6nig wrote: > On Tue, Jun 14, 2022 at 10:34:00AM +0000, Conor.Dooley(a)microchip.com wr= ote: >>> xtensa-linux-ld: drivers/pwm/pwm-microchip-core.o: in function `mc= hp_core_pwm_enable.isra.0': >>>>> pwm-microchip-core.c:(.text+0x380): undefined reference to `__udivdi3' >>> xtensa-linux-ld: drivers/pwm/pwm-microchip-core.o: in function `mc= hp_core_pwm_apply': >>> pwm-microchip-core.c:(.text+0x586): undefined reference to `__udiv= di3' >> >> I assume this is me using functions that are only defined for 64 bit... > = > This is usually a division with variables > int. Aye, which I now have - hence the div64_u64(). Thanks, I'll go digging for a fix :) Conor. --===============1464001516530785897==--