Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1555888rdb; Thu, 7 Dec 2023 02:30:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IHxLMWqG7ZzLKVh+PT1U4e7VUrtEEQRJ0/Ub8xPtbo9kRXOWLYL8WC5tgkFu3KAzWc+GaaU X-Received: by 2002:a05:6358:2786:b0:170:4322:4040 with SMTP id l6-20020a056358278600b0017043224040mr2482473rwb.17.1701945010222; Thu, 07 Dec 2023 02:30:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701945010; cv=none; d=google.com; s=arc-20160816; b=fK0JdH6gpzo6tMEBovfVeXUH1J17ydPBbOXn9DfLkMFA231zaq8l4CvJzgwv9bPYw0 CCNSu/Tg+JQ401m+2H6VxpswXhK2CyN6Cl4pAwZIgBFNBYGdKFt0yXfS47lN37cXV8dC 1+cff/iQEhE/1f6bLRVSK2GU2sebG66xZSEDmvyW6TIY2iW4PlfDUssIfm1RiraiRpxX GCBr2TpRCN2Hq0qCtKyI7kL+vDD5Tbfg94vvF0wP9wdKyfT76Uh6Ru7gApNvi0+GziqL ZScuI9i5Bo8rD0q2Wrfozaazub4FQCpNz1K8wS05jjJdyt5wnxAD77yvDy8rhng+JFn8 /0Aw== 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=sUQBo+2gnMAAhXJfVPp/tLqwBPwpwL+m8cmugTGtqJ0=; fh=c9X4umBt+UE5Iq3q1CD3cITqbZuePN8Ay6JmJZjwToQ=; b=KAdMMpLGW8Gw+cSzlNWucL7o1i9izLKyQlIiCeJ3VtBuVGXUwXTbYwiVIYY83XgzU+ FEELfY79meoCyXDc2ELBd2A6LJySJK1y/kEhNn3EE4ibL/5f45CLw9UzFl2heLgJ7w3T ZAqY6A4Tps50EZFDaw2dCEj6M8t5sipndT46jyQqCAgOiE+y47j0152Q7Nk/SREbYuNr U23nEQRIxizPEf5q8oDN+QCi+NUfOHOerl78NKkwDBXDdIJntM0euFielgVPTyo9bJ2X cm5tWgGVLqQYIwLfg2a25qGjnVkzFW1XQnHQjEJgiBgwG01Sf3gWT5dzpbd3qMHvEocF FTTA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id x186-20020a6386c3000000b005c1b311a152si990715pgd.657.2023.12.07.02.30.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 02:30:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-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 BD90C80CA086; Thu, 7 Dec 2023 02:30:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231955AbjLGK3l (ORCPT + 99 others); Thu, 7 Dec 2023 05:29:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231876AbjLGK3j (ORCPT ); Thu, 7 Dec 2023 05:29:39 -0500 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E9D310C8; Thu, 7 Dec 2023 02:29:41 -0800 (PST) X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 3B7ASh8X2090781, 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.95/5.92) with ESMTPS id 3B7ASh8X2090781 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 7 Dec 2023 18:28:43 +0800 Received: from RTEXMBS01.realtek.com.tw (172.21.6.94) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.32; Thu, 7 Dec 2023 18:28:43 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS01.realtek.com.tw (172.21.6.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Thu, 7 Dec 2023 18:28:42 +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; Thu, 7 Dec 2023 18:28:42 +0800 From: =?utf-8?B?U3RhbmxleSBDaGFuZ1vmmIzogrLlvrdd?= To: Greg Kroah-Hartman CC: Vinod Koul , Johan Hovold , "Kishon Vijay Abraham I" , Geert Uytterhoeven , Jinjie Ruan , Rob Herring , Alan Stern , Heikki Krogerus , Flavio Suligoi , =?utf-8?B?UmljYXJkbyBDYcOxdWVsbw==?= , "linux-kernel@vger.kernel.org" , "linux-phy@lists.infradead.org" , "linux-usb@vger.kernel.org" Subject: RE: [PATCH v3 RESEND 1/4] phy: core: add notify_connect and notify_disconnect callback Thread-Topic: [PATCH v3 RESEND 1/4] phy: core: add notify_connect and notify_disconnect callback Thread-Index: AQHaKOCi19hiykumv0upIYLDPa/PFrCdESyAgACIcOA= Date: Thu, 7 Dec 2023 10:28:42 +0000 Message-ID: References: <20231207074022.14116-1-stanley_chang@realtek.com> <2023120750-giggle-annotate-dc4f@gregkh> In-Reply-To: <2023120750-giggle-annotate-dc4f@gregkh> Accept-Language: zh-TW, en-US Content-Language: zh-TW x-originating-ip: [172.21.190.159] x-kse-serverinfo: RTEXMBS01.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 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,T_SCC_BODY_TEXT_LINE 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-kernel@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, 07 Dec 2023 02:30:07 -0800 (PST) SGkgR3JlZywNCg0KPiANCj4gT24gVGh1LCBEZWMgMDcsIDIwMjMgYXQgMDM6Mzg6MDRQTSArMDgw MCwgU3RhbmxleSBDaGFuZyB3cm90ZToNCj4gPiBJbiBSZWFsdGVrIFNvQywgdGhlIHBhcmFtZXRl ciBvZiB1c2IgcGh5IGlzIGRlc2lnbmVkIHRvIGNhbiBkeW5hbWljDQo+ID4gdHVuaW5nIGJhc2Ug b24gcG9ydCBzdGF0dXMuIFRoZXJlZm9yZSwgYWRkIGEgbm90aWZ5IGNhbGxiYWNrIG9mI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