Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1776867rwi; Thu, 20 Oct 2022 17:37:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4oWzXYEKzAkn8GpQAfy3sp5dJnRyxsfB2LcTy5SQWGRcoLn3ipeq/oBliYH291853XZl0v X-Received: by 2002:a17:907:a40f:b0:790:540c:b6e3 with SMTP id sg15-20020a170907a40f00b00790540cb6e3mr13302403ejc.41.1666312645976; Thu, 20 Oct 2022 17:37:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666312645; cv=none; d=google.com; s=arc-20160816; b=RboC3h6r5EJa0yNeQJ6usMxxNqNecJYCkl0/Gv7lyKZP4+BLPHtmVeibzy8WcZHRoM Erq2HNlU6xaMyApEABboQXv+Pm/iQMMShk9vl6LtFH++oMGAIhPcJbXYXKZAJck1f4VE hH67BM7EuGqDjM81d7BlHtwyW0gAzK3vP1/jpCSBrQGDiuKEEbpPW8/3c0nMch/PoXTX Zybjh2g+n858nzF/vY3aX9QqrWW1VgP0KHd/bM+Sd8PB7xpm8Tq/F3hYnkcH5SY4qY/A O+GUDpTvVMwVWiQMkgScaJ0vW9pyJxkzASPMJLfTveuzAi+CGuXnqDwqArdG151kO/m1 E7Vg== 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:authenticated-by; bh=9nAMVaVhdq/ulqIJsZrUCpkLs8QdGRBQfnr1GMiSQfE=; b=rsd4NGN2fE8UHd4XOROyIIK6mZjKkc32667c0kRQaMa67pGh0TkKsTdGtu13/BEhGf 0negkpFudPfL+RhtKS8pOYaWVgTy1Fqzf8PKv7WWA3eSIKzIITmB3IqWdvKoUQBGyigu ymiI4vJxll0rX4aQOjIjn2a9x8EJi0/gnMC9eOFV0czaD2/Xfi3cPPtr3iOU7/5lGMdS uM6FPT5/xssGJWFC1Rh1M66hc0FhvskA8H1N+ztwCyZLo+5ezO+51TL/5PFdreALVlYu alH6netf2Z2hAeIRVEM2o6RHiccZdxqq7TE+csX9e34IuVkHEjClUL/jtZSjn7HESIZK cnWw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c14-20020a05640227ce00b0045bd55b122csi20891577ede.332.2022.10.20.17.36.57; Thu, 20 Oct 2022 17:37:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229845AbiJUANB (ORCPT + 99 others); Thu, 20 Oct 2022 20:13:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229509AbiJUANA (ORCPT ); Thu, 20 Oct 2022 20:13:00 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1689D1826D3; Thu, 20 Oct 2022 17:12:40 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 29L0BvLP2016494, 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.81/5.90) with ESMTPS id 29L0BvLP2016494 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Fri, 21 Oct 2022 08:11:57 +0800 Received: from RTEXMBS06.realtek.com.tw (172.21.6.99) 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, 21 Oct 2022 08:12:30 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS06.realtek.com.tw (172.21.6.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.32; Fri, 21 Oct 2022 08:12:29 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::add3:284:fd3d:8adb]) by RTEXMBS04.realtek.com.tw ([fe80::add3:284:fd3d:8adb%5]) with mapi id 15.01.2375.007; Fri, 21 Oct 2022 08:12:29 +0800 From: Ping-Ke Shih To: Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" CC: "stable@vger.kernel.org" , Kevin Yang , Kalle Valo , Sasha Levin Subject: RE: [PATCH 6.0 681/862] wifi: rtw88: phy: fix warning of possible buffer overflow Thread-Topic: [PATCH 6.0 681/862] wifi: rtw88: phy: fix warning of possible buffer overflow Thread-Index: AQHY45pdBM12yKu7+0eLe2tpBuSzlq4W+0XQ Date: Fri, 21 Oct 2022 00:12:29 +0000 Message-ID: <1ab422def27d43e1866b470a3f9d24aa@realtek.com> References: <20221019083249.951566199@linuxfoundation.org> <20221019083320.063888989@linuxfoundation.org> In-Reply-To: <20221019083320.063888989@linuxfoundation.org> Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.69.188] x-kse-serverinfo: RTEXMBS06.realtek.com.tw, 9 x-kse-attachmentfiltering-interceptor-info: no applicable attachment filtering rules found x-kse-antivirus-interceptor-info: scan successful x-kse-antivirus-info: =?utf-8?B?Q2xlYW4sIGJhc2VzOiAyMDIyLzEwLzIwIOS4i+WNiCAxMDo0MTowMA==?= x-kse-bulkmessagesfiltering-scan-result: protection disabled Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 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=-1.9 required=5.0 tests=BAYES_00,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-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogR3JlZyBLcm9haC1IYXJ0 bWFuIDxncmVna2hAbGludXhmb3VuZGF0aW9uLm9yZz4NCj4gU2VudDogV2VkbmVzZGF5LCBPY3Rv YmVyIDE5LCAyMDIyIDQ6MzMgUE0NCj4gVG86IGxpbnV4LWtlcm5lbEB2Z2VyLmtlcm5lbC5vcmcN Cj4gQ2M6IEdyZWcgS3JvYWgtSGFydG1hbiA8Z3JlZ2toQGxpbnV4Zm91bmRhdGlvbi5vcmc+OyBz dGFibGVAdmdlci5rZXJuZWwub3JnOyBLZXZpbiBZYW5nDQo+IDxrZXZpbl95YW5nQHJlYWx0ZWsu Y29tPjsgUGluZy1LZSBTaGloIDxwa3NoaWhAcmVhbHRlay5jb20+OyBLYWxsZSBWYWxvIDxrdmFs b0BrZXJuZWwub3JnPjsgU2FzaGEgTGV2aW4NCj4gPHNhc2hhbEBrZXJuZWwub3JnPg0KPiBTdWJq ZWN0OiBbUEFUQ0ggNi4wIDY4MS84NjJdIHdpZmk6IHJ0dzg4OiBwaHk6IGZpeCB3YXJuaW5nIG9m IHBvc3NpYmxlIGJ1ZmZlciBvdmVyZmxvdw0KPiANCj4gRnJvbTogWm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