From: Kalle Valo <kvalo@kernel.org>
To: Jakub Kicinski <kuba@kernel.org>
Cc: nathan@kernel.org, johannes.berg@intel.com,
linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org,
luciano.coelho@intel.com, netdev@vger.kernel.org
Subject: Re: [PATCH] iwlwifi: mvm: Use div_s64 instead of do_div in iwl_mvm_ftm_rtt_smoothing()
Date: Mon, 10 Jan 2022 10:08:06 +0200 [thread overview]
Message-ID: <875yqsvwrd.fsf@kernel.org> (raw)
In-Reply-To: <20220110003326.2745615-1-kuba@kernel.org> (Jakub Kicinski's message of "Sun, 9 Jan 2022 16:33:26 -0800")
Jakub Kicinski <kuba@kernel.org> 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
prev parent reply other threads:[~2022-01-10 8:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-27 19:17 [PATCH] iwlwifi: mvm: Use div_s64 instead of do_div in iwl_mvm_ftm_rtt_smoothing() Nathan Chancellor
2022-01-10 0:33 ` Jakub Kicinski
2022-01-10 8:08 ` Kalle Valo [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=875yqsvwrd.fsf@kernel.org \
--to=kvalo@kernel.org \
--cc=johannes.berg@intel.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=luciano.coelho@intel.com \
--cc=nathan@kernel.org \
--cc=netdev@vger.kernel.org \
/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 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).