Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1EC03C4321E for ; Mon, 13 Dec 2021 11:00:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232333AbhLMLAa (ORCPT ); Mon, 13 Dec 2021 06:00:30 -0500 Received: from paleale.coelho.fi ([176.9.41.70]:51086 "EHLO farmhouse.coelho.fi" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231363AbhLMLAZ (ORCPT ); Mon, 13 Dec 2021 06:00:25 -0500 Received: from 91-156-5-105.elisa-laajakaista.fi ([91.156.5.105] helo=[192.168.100.150]) by farmhouse.coelho.fi with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mwj48-001H5Q-DN; Mon, 13 Dec 2021 13:00:21 +0200 Message-ID: <9f7d720988c7aa113b70386bae80dbcd46b9b274.camel@coelho.fi> From: Luca Coelho To: Kalle Valo Cc: linux-wireless@vger.kernel.org Date: Mon, 13 Dec 2021 13:00:19 +0200 In-Reply-To: <87czm0kce3.fsf@codeaurora.org> References: <20211210091245.289008-1-luca@coelho.fi> <87czm0kce3.fsf@codeaurora.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.2-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH 05/10] iwlwifi: mvm: fix 32-bit build in FTM Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon, 2021-12-13 at 12:49 +0200, Kalle Valo wrote: > Luca Coelho writes: > > > From: Johannes Berg > > > > 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. > > > > Signed-off-by: Johannes Berg > > Signed-off-by: Luca Coelho > > Fixes tag? And should this go to wireless-drivers? I just checked the patch that this claims to fix internally and it's rather old. It went into v5.10: commit b68bd2e3143adbcbc7afd2bc4974c1b988b87211 Author: Ilan Peer AuthorDate: Wed Sep 30 16:31:12 2020 +0300 Commit: Luca Coelho CommitDate: Thu Oct 1 22:00:55 2020 +0300 iwlwifi: mvm: Add FTM initiator RTT smoothing logic So, if nobody caught this before, I think neither a Fixes tag nor taking it to wireless-drivers is necessary. What do you think? -- Cheers, Luca.