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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6307AC433F5 for ; Fri, 5 Nov 2021 14:28:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 493F36120E for ; Fri, 5 Nov 2021 14:28:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233226AbhKEObf (ORCPT ); Fri, 5 Nov 2021 10:31:35 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:35266 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233170AbhKEObd (ORCPT ); Fri, 5 Nov 2021 10:31:33 -0400 Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.73 with qID 1A5ESeaJ6012927, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36504.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.71/5.88) with ESMTPS id 1A5ESeaJ6012927 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 5 Nov 2021 22:28:40 +0800 Received: from RTEXMBS06.realtek.com.tw (172.21.6.99) by RTEXH36504.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 5 Nov 2021 22:28:40 +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.2308.15; Fri, 5 Nov 2021 22:28:39 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::dc53:1026:298b:c584]) by RTEXMBS04.realtek.com.tw ([fe80::dc53:1026:298b:c584%5]) with mapi id 15.01.2308.015; Fri, 5 Nov 2021 22:28:39 +0800 From: Pkshih To: "kvalo@codeaurora.org" , "tiwai@suse.de" CC: "linux-wireless@vger.kernel.org" , "Larry.Finger@gmail.com" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] rtw89: Fix crash by loading compressed firmware file Thread-Topic: [PATCH] rtw89: Fix crash by loading compressed firmware file Thread-Index: AQHX0hU7VE24GGCl002qwvOXgdMXQqv0AUsAgACX6Q///34ogIAAjK5D///UggA= Date: Fri, 5 Nov 2021 14:28:39 +0000 Message-ID: References: <20211105071725.31539-1-tiwai@suse.de> <87zgqjqaae.fsf@codeaurora.org> <87v917q8hw.fsf@codeaurora.org> In-Reply-To: <87v917q8hw.fsf@codeaurora.org> Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.36.1-2 x-originating-ip: [125.224.68.85] 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?Q2xlYW4sIGJhc2VzOiAyMDIxLzExLzUg5LiL5Y2IIDAxOjMxOjAw?= x-kse-bulkmessagesfiltering-scan-result: protection disabled Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-KSE-ServerInfo: RTEXH36504.realtek.com.tw, 9 X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled X-KSE-AntiSpam-Outbound-Interceptor-Info: scan successful X-KSE-AntiSpam-Version: 5.9.20, Database issued on: 11/05/2021 14:09:25 X-KSE-AntiSpam-Status: KAS_STATUS_NOT_DETECTED X-KSE-AntiSpam-Method: none X-KSE-AntiSpam-Rate: 0 X-KSE-AntiSpam-Info: Lua profiles 167092 [Nov 05 2021] X-KSE-AntiSpam-Info: Version: 5.9.20.0 X-KSE-AntiSpam-Info: Envelope from: pkshih@realtek.com X-KSE-AntiSpam-Info: LuaCore: 465 465 eb31509370142567679dd183ac984a0cb2ee3296 X-KSE-AntiSpam-Info: {Tracking_from_domain_doesnt_match_to} X-KSE-AntiSpam-Info: d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;127.0.0.199:7.1.2;realtek.com:7.1.1 X-KSE-AntiSpam-Info: Rate: 0 X-KSE-AntiSpam-Info: Status: not_detected X-KSE-AntiSpam-Info: Method: none X-KSE-AntiSpam-Info: Auth:dkim=none X-KSE-Antiphishing-Info: Clean X-KSE-Antiphishing-ScanningType: Heuristic X-KSE-Antiphishing-Method: None X-KSE-Antiphishing-Bases: 11/05/2021 14:12:00 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDIxLTExLTA1IGF0IDExOjAzICswMjAwLCBLYWxsZSBWYWxvIHdyb3RlOg0KPiBU YWthc2hpIEl3YWkgPHRpd2FpQHN1c2UuZGU+IHdyaXRlczoNCj4gDQo+ID4gT24gRnJpLCAwNSBO b3YgMjAyMSAwOToyNToxMyArMDEwMCwNCj4gPiBLYWxsZSBWYWxvIHdyb3RlOg0KPiA+ID4gVGFr YXNoaSBJd2FpIDx0aXdhaUBzdXNlLmRlPiB3cml0ZXM6DQo+ID4gPiANCj4gPiA+ID4gT24gRnJp LCAwNSBOb3YgMjAyMSAwODoxNzoyNSArMDEwMCwNCj4gPiA+ID4gVGFrYXNoaSBJd2FpIHdyb3Rl Og0KPiA+ID4gPiA+IFdoZW4gYSBmaXJtd2FyZSBpcyBsb2FkZWQgaW4gdGhlIGNvbXByZXNzZWQg Zm9ybWF0IG9yIHZpYSB1c2VyLW1vZGUNCj4gPiA+ID4gPiBoZWxwZXIsIGl0J3MgbWFwcGVkIGlu IHJlYWQtb25seSwgYW5kIHRoZSBydHc4OSB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