Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2926847rdh; Mon, 27 Nov 2023 02:28:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IEWwj1PcpcMtZOHX4MeqwosjN8oJM9aEBQpLE2Pn4cxEfv2x9wxSRnzxiW7c/lX9vnbqrIa X-Received: by 2002:aa7:930f:0:b0:6cb:87d0:fc9e with SMTP id cz15-20020aa7930f000000b006cb87d0fc9emr13443419pfb.21.1701080893532; Mon, 27 Nov 2023 02:28:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701080893; cv=none; d=google.com; s=arc-20160816; b=s72aUOzTlas2Dfq1aYjPGT82kmbp3Q79ykGE/uh6PYjR1lj4LOMvmL997ez8G6RJq8 gvV6JS5rC0Q6/1ExEsqdBUNpt8FFxBe5b3Jub/BOdmsvx+y9G95M8MFfVZfifc56i5k+ qg4Zk0ZmcPIZNTrWvQ/cIvKTwurcDHQ/5vAbwTdqo0vNtTthllAEFH3TQ7wwVJ+g6Xsm 7XIoTQiiH5s+P/xHK6Cn0j2+M2b9hai0AoJ00y5CHq54NaouRR3sgFSGoLocqVJU7oDs bmfUZF76gkR4PYnMfhlDe7Vw1SOnlbk+wlKxFkpQlb9as82NB7LfBOXGCcxWlQauUILB O9wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=3juK1mRN9IHZs49VX2tDFfNWRrH8ez7Xl+6AFxH3QDc=; fh=hB6KbnNmVfIiuohat2h+uvFgWD3NKqW6FTnb3SdQXgA=; b=mHJYiKiyKYX+8HGanhi20F2fLW2n+0vkHDHhqbGrLsSKBIH0223XRyK1qT9IHiSgMb +ulv00L9sMkUla1p/89djyb3acQtdmoR1Gp5FTd9ruXwFggerbjIIvZOSv6e7CJ622ux wZ3HUwmEUeAPaCwzaEZ8THpzqMs8fcA+TpA9iYn27/ACPA6jl13w7qaLqTdcjYeMtkcC jDuha8lX/nHIMVOOSV2z/Oyi7ZtmrA/ig+eEq+1MuPFIt35Jhh2UwDIAbpiyc/p6OAGn EOY4dTbt6war+1RsDJGkDvf2XEmRYlLfwXelpF0ymNIotQ1DhZALbHHJYBcruo+dB3wY tgkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=QTQALexX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id u23-20020a056a00099700b0069347c30c78si9825665pfg.230.2023.11.27.02.28.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 02:28:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=QTQALexX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 10F01808EF62; Mon, 27 Nov 2023 02:28:11 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232933AbjK0K1s (ORCPT + 99 others); Mon, 27 Nov 2023 05:27:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232918AbjK0K1p (ORCPT ); Mon, 27 Nov 2023 05:27:45 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EE7AEA; Mon, 27 Nov 2023 02:27:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=3juK1mRN9IHZs49VX2tDFfNWRrH8ez7Xl+6AFxH3QDc=; b=QTQALexXzmeIletbhOMnhISn5s umwuXSRQhFnKzuHs/VC1UFKGna71cN9+j55XOnv/8Ndy+0B9BVsPssK3vNjoHveJMfeaTtrhQ4j2N fHd20O9ZbQdyf7LlI1xg5A1iEJpJQX64/GCVETR7Y2/rDaqdbkukPhK6VVIx6gqYfjNULPuRzGztX njJELWoKBCuONZh6O4/yelYYazEFbmt1b0iG4kFU9tllVUHiiWBetp7Nm8cY0eEbn/QLHksiyMOY+ TXOVD5+tsGzaz3r7A3j013eyH037j0fKb0lfWqYUpC6kUsTJRftY3DMXdNHQOirITtP+dHGny4P8U 3Uzjtqxw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:33832) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1r7Yq6-0005ed-0c; Mon, 27 Nov 2023 10:27:42 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1r7Yq7-0001pZ-C5; Mon, 27 Nov 2023 10:27:43 +0000 Date: Mon, 27 Nov 2023 10:27:43 +0000 From: "Russell King (Oracle)" To: Gan Yi Fang Cc: Andrew Lunn , Heiner Kallweit , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Marek =?iso-8859-1?Q?Beh=FAn?= , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Looi Hong Aun , Voon Weifeng , Song Yoong Siang , Lai Peter Jun Ann Subject: Re: [PATCH net 1/1] net: phylink: Add module_exit() Message-ID: References: <20231127101603.807593-1-yi.fang.gan@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231127101603.807593-1-yi.fang.gan@intel.com> Sender: Russell King (Oracle) X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, 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 fry.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 (fry.vger.email [0.0.0.0]); Mon, 27 Nov 2023 02:28:11 -0800 (PST) On Mon, Nov 27, 2023 at 06:16:03PM +0800, Gan Yi Fang wrote: > diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c > index 25c19496a336..7121503c9259 100644 > --- a/drivers/net/phy/phylink.c > +++ b/drivers/net/phy/phylink.c > @@ -3724,7 +3724,10 @@ static int __init phylink_init(void) > return 0; > } > > +static void __exit phylink_exit(void){} Please format that as: static void __exit phylink_exit(void) { } and move it _after_ module_init(). Thanks. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!