Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3658996iob; Tue, 17 May 2022 04:57:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzYRwFPE+HSNf8PbwkbmpdE9IC3hZdq4pjx58XAbeHvbsV/evBmomP0FyXgfi+UqA1nNu6t X-Received: by 2002:a63:583:0:b0:3f2:3f20:ec1a with SMTP id 125-20020a630583000000b003f23f20ec1amr13655099pgf.460.1652788656368; Tue, 17 May 2022 04:57:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652788656; cv=none; d=google.com; s=arc-20160816; b=lUMFv508kNjhDDOeE8fV2FMFexdDaEMSB/vSaw6yBh0Ft8Ev73qxRQVK5pnjfa1h8k S1br7ucv5oWs/5wpH/abeAzp3b/y+junkjx+I99/8kyrvxX7jug4Wm19WmXMbxASRgw6 K2a9mMT9I63pCoRhexAHjRVzojQMAKmTL2IGsOtxPrTdQhEbTUIsRzcv855LASDrolDH HA4BU5J6y7h3Ew1O9kGBZw9ad6kh811liImljQl0Uay+yYvpawk19D1tcBg5KcCkRy6G WOPFse7a8fQETuOatuTGZUcrNHUheyXbBbK0NPz0i43hiZL+h/+e4Nt/4LBdhbGs/GLu ut3w== 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=cVhQbKdaCA65Xm07DUxTt8Uw+jXuVEW7R6a/g9UENtk=; b=vJqXfz0RbY5znh+fSwGliMqyJ5OVcR7/faQcMgAg8Vp7rp/D+W8yjWW1uwRvOACHbW r/AM1HMIUjCDweVc9xDhTsA3WxxlbtJ+z2XZJ6LqMsLlmFgOyt+qOq3Bc3umFbnc3775 Ive6uaabFJ7NfYRrkNRWYNKnlezV4L/S9SAqITNv8XDIW2sVNeSyAuXBrxlxTDiYw1Uw PAJzUcd1Jt8X6xpXwKEJ8QuDYVrOnuP6yOAfjL2BvEAH7zoBLmaAdcgbmF7KUpcPd7Z1 EzBWopCmwlWPYZ6boL5ZKXYnDVyBYhSswZwrB+x6daxbQFAGcF7nDOxcZtx60cb7k+5h /cpw== 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 e11-20020a63db0b000000b003822d0bffa5si16023941pgg.27.2022.05.17.04.57.23; Tue, 17 May 2022 04:57:36 -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 S236666AbiEQIM1 (ORCPT + 99 others); Tue, 17 May 2022 04:12:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242707AbiEQILJ (ORCPT ); Tue, 17 May 2022 04:11:09 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE1BA11C3C for ; Tue, 17 May 2022 01:11:06 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.73 with qID 24H8AHJ20001829, 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 24H8AHJ20001829 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 17 May 2022 16:10:18 +0800 Received: from RTEXDAG02.realtek.com.tw (172.21.6.101) 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.2308.27; Tue, 17 May 2022 16:10:17 +0800 Received: from RTEXMBS01.realtek.com.tw (172.21.6.94) by RTEXDAG02.realtek.com.tw (172.21.6.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 17 May 2022 16:10:17 +0800 Received: from RTEXMBS01.realtek.com.tw ([fe80::754e:2219:bbef:d0cd]) by RTEXMBS01.realtek.com.tw ([fe80::754e:2219:bbef:d0cd%5]) with mapi id 15.01.2308.027; Tue, 17 May 2022 16:10:17 +0800 From: Ricky WU To: Kai-Heng Feng , Tom Rix CC: Nathan Chancellor , "arnd@arndb.de" , "gregkh@linuxfoundation.org" , "ndesaulniers@google.com" , "linux-kernel@vger.kernel.org" , "llvm@lists.linux.dev" Subject: RE: [PATCH] misc: rtsx: Set setting_reg2 before use. Thread-Topic: [PATCH] misc: rtsx: Set setting_reg2 before use. Thread-Index: AQHYaT2CKSbKZlIAOES1N3o6bLOYX60iT2gHgABmnsA= Date: Tue, 17 May 2022 08:10:17 +0000 Message-ID: References: <20220516130047.3887590-1-trix@redhat.com> In-Reply-To: Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.22.81.103] x-kse-serverinfo: RTEXDAG02.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?Q2xlYW4sIGJhc2VzOiAyMDIyLzUvMTcg5LiK5Y2IIDA2OjQ0OjAw?= 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: 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-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBLYWktSGVuZyBGZW5nIDxrYWku aGVuZy5mZW5nQGNhbm9uaWNhbC5jb20+DQo+IFNlbnQ6IFR1ZXNkYXksIE1heSAxNywgMjAyMiA5 OjUzIEFNDQo+IFRvOiBUb20gUml4IDx0cml4QHJlZGhhdC5jb20+DQo+IENjOiBOYXRoYW4gQ2hh bmNlbGxvciA8bmF0aGFuQGtlcm5lbC5vcmc+OyBhcm5kQGFybmRiLmRlOw0KPiBncmVna2hAbGlu dXhmb3VuZGF0aW9uLm9yZzsgbmRlc2F1bG5pZXJzQGdvb2dsZS5jb207IFJpY2t5IFdVDQo+IDxy aWNreV93dUByZWFsdGVrLmNvbT47IGxpbnV4LWtlcm5lbEB2Z2VyLmtlcm5lbC5vcmc7IGxsdm1A bGlzdHMubGludXguZGV2DQo+IFN1YmplY3Q6IFJlOiBbUEFUQ0hdIG1pc2M6IHJ0c3g6IFNldCBz ZXR0aW5nX3JlZzIgYmVmb3JlIHVzZS4NCj4gDQo+IE9uIFR1ZSwgTWF5IDE3LCAyMDIyIGF0IDE6 MDYgQU0gVG9tIFJpeCA8dHJpeEByZWRoYXQuY29tPiB3cm90ZToNCj4gPg0KPiA+DQo+ID4gT24g NS8xNi8yMiA4OjU2IEFNLCBOYXRoYW4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