linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [ath6kl:pending 10/15] ERROR: "__udivdi3" [drivers/net/wireless/ath/ath10k/ath10k_core.ko] undefined!
       [not found] <201810090804.eQbqAwdi%fengguang.wu@intel.com>
@ 2018-10-12 14:32 ` Kalle Valo
  2018-10-12 14:46   ` Arnd Bergmann
  0 siblings, 1 reply; 3+ messages in thread
From: Kalle Valo @ 2018-10-12 14:32 UTC (permalink / raw)
  To: kbuild test robot
  Cc: Rakesh Pillai, kbuild-all, ath10k, Surabhi Vishnoi,
	linux-wireless, Arnd Bergmann

+ linux-wireless, arnd

kbuild test robot <lkp@intel.com> writes:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
> head:   70aa9eaba2a46b3d53caf03060576a7615182814
> commit: 108924d7a14299b2bcced255feb14bfdde7cb9d4 [10/15] ath10k: Fill
> the channel survey results for WCN3990 correctly
> config: parisc-allmodconfig (attached as .config)
> compiler: hppa-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
> reproduce:
>         wget
> https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross
> -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout 108924d7a14299b2bcced255feb14bfdde7cb9d4
>         # save the attached .config to linux build tree
>         GCC_VERSION=7.2.0 make.cross ARCH=parisc 
>
> All errors (new ones prefixed by >>):
>
>>> ERROR: "__udivdi3" [drivers/net/wireless/ath/ath10k/ath10k_core.ko] undefined!
>>> ERROR: "__divdi3" [drivers/net/wireless/ath/ath10k/ath10k_core.ko] undefined!

I'm not sure what this is about. The corresponding patch is here:

https://patchwork.kernel.org/patch/10624567/

I see some division in the patch but I can't immeaditely see what's
wrong. So is this a problem in the bot, in parisc architecture or with
the patch? Anyone have any good ideas? Arnd?

-- 
Kalle Valo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ath6kl:pending 10/15] ERROR: "__udivdi3" [drivers/net/wireless/ath/ath10k/ath10k_core.ko] undefined!
  2018-10-12 14:32 ` [ath6kl:pending 10/15] ERROR: "__udivdi3" [drivers/net/wireless/ath/ath10k/ath10k_core.ko] undefined! Kalle Valo
@ 2018-10-12 14:46   ` Arnd Bergmann
  2018-10-12 14:49     ` Kalle Valo
  0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2018-10-12 14:46 UTC (permalink / raw)
  To: Kalle Valo
  Cc: kbuild test robot, pillair, kbuild-all, ath10k, svishnoi, linux-wireless

On Fri, Oct 12, 2018 at 4:32 PM Kalle Valo <kvalo@codeaurora.org> wrote:
>
> + linux-wireless, arnd
>
> >
> >>> ERROR: "__udivdi3" [drivers/net/wireless/ath/ath10k/ath10k_core.ko] undefined!
> >>> ERROR: "__divdi3" [drivers/net/wireless/ath/ath10k/ath10k_core.ko] undefined!
>
> I'm not sure what this is about. The corresponding patch is here:
>
> https://patchwork.kernel.org/patch/10624567/
>
> I see some division in the patch but I can't immeaditely see what's
> wrong. So is this a problem in the bot, in parisc architecture or with
> the patch? Anyone have any good ideas? Arnd?
>

I think the problem is that 'clock_freq' is a 'u64', which means we can't use
a normal 32-bit division. It looks like it cannot actually go beyond the
range of a u32, so changing the type should be sufficient.

      Arnd

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ath6kl:pending 10/15] ERROR: "__udivdi3" [drivers/net/wireless/ath/ath10k/ath10k_core.ko] undefined!
  2018-10-12 14:46   ` Arnd Bergmann
@ 2018-10-12 14:49     ` Kalle Valo
  0 siblings, 0 replies; 3+ messages in thread
From: Kalle Valo @ 2018-10-12 14:49 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: kbuild test robot, pillair, kbuild-all, ath10k, svishnoi, linux-wireless

Arnd Bergmann <arnd@arndb.de> writes:

> On Fri, Oct 12, 2018 at 4:32 PM Kalle Valo <kvalo@codeaurora.org> wrote:
>>
>> + linux-wireless, arnd
>>
>> >
>> >>> ERROR: "__udivdi3" [drivers/net/wireless/ath/ath10k/ath10k_core.ko] undefined!
>> >>> ERROR: "__divdi3" [drivers/net/wireless/ath/ath10k/ath10k_core.ko] undefined!
>>
>> I'm not sure what this is about. The corresponding patch is here:
>>
>> https://patchwork.kernel.org/patch/10624567/
>>
>> I see some division in the patch but I can't immeaditely see what's
>> wrong. So is this a problem in the bot, in parisc architecture or with
>> the patch? Anyone have any good ideas? Arnd?
>>
>
> I think the problem is that 'clock_freq' is a 'u64', which means we can't use
> a normal 32-bit division. It looks like it cannot actually go beyond the
> range of a u32, so changing the type should be sufficient.

Great, thanks for the quick help :)

-- 
Kalle Valo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-10-12 14:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <201810090804.eQbqAwdi%fengguang.wu@intel.com>
2018-10-12 14:32 ` [ath6kl:pending 10/15] ERROR: "__udivdi3" [drivers/net/wireless/ath/ath10k/ath10k_core.ko] undefined! Kalle Valo
2018-10-12 14:46   ` Arnd Bergmann
2018-10-12 14:49     ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).