Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp169964rdb; Thu, 5 Oct 2023 22:40:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGbuinlLprEOwvPmbLBOtTqMaj91tUqP2iiRbsvTiDmv0mVIWBds5tvnIdmeaqcXe1ZpW0O X-Received: by 2002:a05:6358:7250:b0:134:d282:92e9 with SMTP id i16-20020a056358725000b00134d28292e9mr8069463rwa.29.1696570844786; Thu, 05 Oct 2023 22:40:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696570844; cv=none; d=google.com; s=arc-20160816; b=W64f01HvYZjDuTtCFsdhk2XJtwScNHGnlvQPHR/e7V5j7Kb1ji7AXItZgYCgee5WfL LaNKJqxWQQucGglSh1AYkzx+nDC2SCW/Bau8Ggl5adLoM4HYsjRrGzQMdrDQaTKHPFls N+Wyui84qvz44JuwuDPjvSOYSIzd7G3Nxf2A1U4v4QI8hw9J9ycivvpoVORVEP49PyJv sE1NIDa2y7GYODCu+XOZDEHXx+iNP9qey8X8pn7XtBoNY6LvZDcYDEmL+yysv3/u6v4l JiVhwMHV5hnsBeyBSgezYfE4ycBn3315gB97bPDkLBEMZpj5NZtzwMoQy4tA19pfP2jJ F6Pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=caA8DJOUrDCd6WrLtH0JxJNsTo/zJGeYSSpMHZPssE4=; fh=pZpLv3JBu7ewThcXtBU3x3uGUeTqUHmHtpmV6AvLzGM=; b=UlQ3/iR+1GiEwUM+QQRpI0bccjqZMYpDmt89FMdiBy0kdLT9TC81tMtfRrz02TrJor 1NYkj8E1JBIfzYsqTv6vHAkpNoEi1JGMrdmeBKIpHlY1ew+2mGuWd50X3JGbO1+ZCjFz CKvZmH7AB8KmfrePAMJB69EvGg5O7vCuVuN/HuSjNsk/CIpa8yT7W2Uc7Xnq4cDFuv4v Xgmu7ACukodrXoAuu07LDwVU1kJLwOugfJLDVvEdj9t9QMeLmYxgLT2WUa0Ju9XmFRZW wx4kw4Oa3gC8AOrZKhRAH/otSjS2pS7EMjycu41V/wCV2E2CuVWq6WSaDTMriTvXpYxm HYMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id bv71-20020a632e4a000000b0057d600d2069si3003952pgb.418.2023.10.05.22.40.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 22:40:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 57A2C82D2B72; Thu, 5 Oct 2023 22:40:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230144AbjJFFgd convert rfc822-to-8bit (ORCPT + 52 others); Fri, 6 Oct 2023 01:36:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230124AbjJFFgc (ORCPT ); Fri, 6 Oct 2023 01:36:32 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0EC7B6 for ; Thu, 5 Oct 2023 22:36:29 -0700 (PDT) X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 3965aK6X11427082, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.92/5.92) with ESMTPS id 3965aK6X11427082 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 6 Oct 2023 13:36:20 +0800 Received: from RTEXMBS03.realtek.com.tw (172.21.6.96) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.32; Fri, 6 Oct 2023 13:36:20 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS03.realtek.com.tw (172.21.6.96) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Fri, 6 Oct 2023 13:36:19 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::40c2:6c24:2df4:e6c7]) by RTEXMBS04.realtek.com.tw ([fe80::40c2:6c24:2df4:e6c7%5]) with mapi id 15.01.2375.007; Fri, 6 Oct 2023 13:36:19 +0800 From: Ping-Ke Shih To: Dmitry Antipov CC: Kalle Valo , "linux-wireless@vger.kernel.org" Subject: RE: [PATCH] wifi: rtlwifi: use unsigned long for bt_coexist_8723 timestamp Thread-Topic: [PATCH] wifi: rtlwifi: use unsigned long for bt_coexist_8723 timestamp Thread-Index: AQHZ9qTLMfz9lLddGEq9U1iknOcY6rA8QKxA Date: Fri, 6 Oct 2023 05:36:19 +0000 Message-ID: <6ba2460f844c4b289b03e97d4c1a1730@realtek.com> References: <20231004092418.73337-1-dmantipov@yandex.ru> In-Reply-To: <20231004092418.73337-1-dmantipov@yandex.ru> Accept-Language: en-US, zh-TW Content-Language: zh-TW x-originating-ip: [172.21.69.25] x-kse-serverinfo: RTEXMBS03.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email 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 (agentk.vger.email [0.0.0.0]); Thu, 05 Oct 2023 22:40:42 -0700 (PDT) > -----Original Message----- > From: Dmitry Antipov > Sent: Wednesday, October 4, 2023 5:24 PM > To: Ping-Ke Shih > Cc: Kalle Valo ; linux-wireless@vger.kernel.org; Dmitry Antipov > Subject: [PATCH] wifi: rtlwifi: use unsigned long for bt_coexist_8723 timestamp > > 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