Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1721460rdb; Sun, 8 Oct 2023 23:57:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFPVSUpQWYVCvyU8Dfe6eMnbR/jDiKI8gjfNomWrIlb8wNnsW58qYVPDch2gYyjaZanxQYs X-Received: by 2002:a05:6358:7245:b0:14f:6a41:5d19 with SMTP id i5-20020a056358724500b0014f6a415d19mr16108728rwa.21.1696834626574; Sun, 08 Oct 2023 23:57:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696834626; cv=none; d=google.com; s=arc-20160816; b=AGRxF039wfC1pZFnxHGpB3SzmPkXAQWouS3j9ZHr1kvaeznM4Ifdt+5XDtl65mbrVG qh/nGW7/fCJtqgSYexeAoCPHnnWnmLpctmCUiIvQho7U82N4vnSgVJuCTmOrkYRu/SJJ Ox1E1D0NNZiuLrHztqrjLW7/1B+n+3U1xfJebB4rlKbTOWNPR0+OzqSnce6zR6Htm/Q8 himopXL9yU8idjgP0Z7t6YzWWbm9orsospE7vBS890hsrI8miJ3Wge5CtWkxpfYg0mBS jrIUGhr4YCaTrvPUlnZom/g+QECiY2WELaQSAW9L3p/ApWckXUUEyEkxnThZ9qQ7d2PC RBzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=Ug56i/Mk/8l9AcbuCW86g57wz2+K86N5MaeYT65TAxg=; fh=W+d0VTlB06MRf7YcZ9fsTH6rmN1qgblnN3a4fITKvd0=; b=vwBFmt3qkpk3IRa4qVkxwSucOQtcL5SomByGJZYoimvElGTHkpTfEmAj2jjpKzmm3C tNKivoseinxmWo9lt/+W2xefOUw9ZM1CtcrO1/SlJYwWI9Em7lO3Na1+3pG9+4jCSB5m UD+cocFeeRfKT+4hUbvnd5sL11HSTBbXUXsLGv3y/c6tD6j5HsQkQxMv02WzLPvWjKIL k2oMJHjpj8264p3sa7SP+Uus7+5ljY9mn2nxaoMUtn3jVubdZtqdGn2Q1rSC88ifrzVe SoRgGPvlopdQQS4j6WOtWQHY7yhw4fdOP/xfjR7wv2osUZFJjvw94kco1Ni9FYwM6ih/ Kb3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IQd79H5J; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id h15-20020a65638f000000b005778df5647dsi8837324pgv.401.2023.10.08.23.57.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Oct 2023 23:57:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IQd79H5J; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D894180779B5; Sun, 8 Oct 2023 23:56:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234353AbjJIG4r (ORCPT + 52 others); Mon, 9 Oct 2023 02:56:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345305AbjJIG4p (ORCPT ); Mon, 9 Oct 2023 02:56:45 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77C85CF for ; Sun, 8 Oct 2023 23:56:44 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1F93AC433C7; Mon, 9 Oct 2023 06:56:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696834604; bh=B517UI6IWrpSO/pRCE7sDQamUbGLk9AEWJFHB6YmzCM=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=IQd79H5Jm/y42uBNiIBVPWUrcTxaFlUb2wuDNrQa76KYr0xE2a9Sdt3ev2XunMWgA LLrK0xeTccQ2RI0GuckxN2CqvEWgDqC/ON1HXuRfmTZtPT8mzCjF1ztnxDkdhvDBNQ 27mVxQDr4iL3QYXPYwd1K3WoUTx08jS8GHGa+fSs1y/k3J6QoqSvwdrlPtgL9BhuXc grXdJrDchzN2IIfPs2mVH5sPPgfNYI9Rr14RdzwAWUG1OF/YGHZ+c0E8p2ayR1F5i8 6WK0t7c0Cvy8OVc0aLbaIq2YYVYMD+Dhr+VioIG9JDvpXPKjlVRUzzW4qw/bVkgkIk ATzvbLH5sCIDQ== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: rtlwifi: use unsigned long for bt_coexist_8723 timestamp From: Kalle Valo In-Reply-To: <20231004092418.73337-1-dmantipov@yandex.ru> References: <20231004092418.73337-1-dmantipov@yandex.ru> To: Dmitry Antipov Cc: Ping-Ke Shih , linux-wireless@vger.kernel.org, Dmitry Antipov User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169683460090.2071896.12037221209810440149.kvalo@kernel.org> Date: Mon, 9 Oct 2023 06:56:42 +0000 (UTC) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 08 Oct 2023 23:56:48 -0700 (PDT) Dmitry Antipov wrote: > Since 'bt_inq_page_start_time' of 'struct bt_coexist_8723' is > in jiffies, prefer 'unsigned long' over 'u32' to avoid possible > truncation in 'rtl8723e_dm_bt_inq_page_monitor()' and adjust > related code. Found with clang's -Wshorten-64-to-32, compile > tested only. > > Signed-off-by: Dmitry Antipov > Acked-by: Ping-Ke Shih Patch applied to wireless-next.git, thanks. 71ffa1bcd7a0 wifi: rtlwifi: use unsigned long for bt_coexist_8723 timestamp -- https://patchwork.kernel.org/project/linux-wireless/patch/20231004092418.73337-1-dmantipov@yandex.ru/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches