Search Linux Wireless

Re: [PATCH] iwlwifi: mvm: Use div_s64 instead of do_div in iwl_mvm_ftm_rtt_smoothing()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jakub Kicinski <kuba@xxxxxxxxxx> writes:

>> When building ARCH=arm allmodconfig:
>> 
>> drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c: In function
>> ‘iwl_mvm_ftm_rtt_smoothing’:
>> ./include/asm-generic/div64.h:222:35: error: comparison of distinct
>> pointer types lacks a cast [-Werror]
>>   222 |         (void)(((typeof((n)) *)0) == ((uint64_t *)0));  \
>>       |                                   ^~
>> drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c:1070:9: note:
>> in expansion of macro ‘do_div’
>>  1070 |         do_div(rtt_avg, 100);
>>       |         ^~~~~~
>
> Let me take this one directly to net-next, hope that's okay.

Thanks, please do, I was offline for a longer period and just came back.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux