lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d0214a9b-a810-963a-3a37-a222f59b5551@microchip.com>
Date:   Tue, 14 Jun 2022 12:16:48 +0000
From:   <Conor.Dooley@...rochip.com>
To:     <u.kleine-koenig@...gutronix.de>
CC:     <lkp@...el.com>, <thierry.reding@...il.com>,
        <lee.jones@...aro.org>, <kbuild-all@...ts.01.org>,
        <Daire.McNamara@...rochip.com>, <linux-kernel@...r.kernel.org>,
        <linux-pwm@...r.kernel.org>, <linux-riscv@...ts.infradead.org>
Subject: Re: [PATCH v2 1/2] pwm: add microchip soft ip corePWM driver

On 14/06/2022 13:13, Uwe Kleine-König wrote:
> On Tue, Jun 14, 2022 at 10:34:00AM +0000, Conor.Dooley@...rochip.com wrote:
>>>      xtensa-linux-ld: drivers/pwm/pwm-microchip-core.o: in function `mchp_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 `mchp_core_pwm_apply':
>>>      pwm-microchip-core.c:(.text+0x586): undefined reference to `__udivdi3'
>>
>> 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.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ