diff options
| author | Johannes Berg <[email protected]> | 2021-12-19 11:14:18 +0200 |
|---|---|---|
| committer | Luca Coelho <[email protected]> | 2021-12-21 12:35:05 +0200 |
| commit | 8b0f92549f2c2458200935c12a2e2a6e80234cf5 (patch) | |
| tree | 5433c25203bd35b677ca89202a527252e38deef3 /include/linux/stackprotector.h | |
| parent | 4cd177b43a1443924c56c6d94b8a77be762a3976 (diff) | |
iwlwifi: mvm: fix 32-bit build in FTM
On a 32-bit build, the division here needs to be done
using do_div(), otherwise the compiler will try to call
a function that doesn't exist, thus failing to build.
Fixes: b68bd2e3143a ("iwlwifi: mvm: Add FTM initiator RTT smoothing logic")
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: Luca Coelho <[email protected]>
Link: https://lore.kernel.org/r/iwlwifi.20211219111352.e56cbf614a4d.Ib98004ccd2c7a55fd883a8ea7eebd810f406dec6@changeid
Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions