Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7691946rdb; Thu, 4 Jan 2024 05:00:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IHDVu4/CHr83avjMK7NFwG+yFgZ3VO+k4Mvhx7lPteCCcghePX7HHsqgonpdMNjcwzCP2QG X-Received: by 2002:a05:6102:5716:b0:467:3461:e039 with SMTP id dg22-20020a056102571600b004673461e039mr254986vsb.24.1704373256972; Thu, 04 Jan 2024 05:00:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704373256; cv=none; d=google.com; s=arc-20160816; b=0ksmvEpaN/jFwcXvdhDCn84fcGTgwrQIg/E2cSVFHNBn7byNDJILuGFQrPEbP0MdzB 4y3ehRvxg+EqrAKTsLRQYQ/G+7HdwyTuEII9jtyfS1k3uV+NiwcIS6cfZoJSP24JuLZd wwXHF5YkYf0IDr5uzyng+L1UA4C8quCVMrZxtHaMIpu+NsiDE7zszdkcsp1W8vfdDr6O tl/e3wgilaK9py/FQgphb/N8NVw35FgulMjLf8ITfHXZ46K0DLmaVE1XUnhk67RCsWgZ plwH7IkjJNa9mD3qPqnQ4uNvA75pofQuMjtTp2ymVW9TUXh7XGHS/gAE5iESzt1E5dRh 4Sfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=em8656SBmFHuCoSI6Hw7pHiwOvfMbL7DUtlbPOdcosg=; fh=wgSD9QdFWNW1Kh2cZ53DxE4K+E5iYbSHeO+o9rtecmA=; b=Vk9G94bvr8959usg/fLTksoEIF777jujXLuvlJTuPi4uH3L/1iaejxfyKrqeIYWjkY FhG7fdcm9QDRgZr7mGdo4oOgFCtznTTGdcDSt0eAqIB3i7PmqSTwy9WOt4rwr4xzlBUS tBpqKi3busRLOpluE/OdtjhVn90Vn9UQuQeDU56X9tTxYYevNmrEZw6EOrsaPcOWPOGy 8styym2EvsQihe86D5o3erHe8VhrjiI8sldmiG9HourkhIcLTmYXk1zXAVcpCGOAgktO xYhoNxX2heQWtfOGcPWna3++LDsVtXi0a3ocO3bUWWggVw6mCpEt3Pk7T4Ml3swl+dkY 6UFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=IIIPJc9Q; spf=pass (google.com: domain of linux-kernel+bounces-16669-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16669-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id a5-20020a05610222c500b00467a2cf62besi102539vsh.52.2024.01.04.05.00.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 05:00:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16669-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=IIIPJc9Q; spf=pass (google.com: domain of linux-kernel+bounces-16669-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16669-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id AEE8B1C23E33 for ; Thu, 4 Jan 2024 13:00:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7CA202232D; Thu, 4 Jan 2024 13:00:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="IIIPJc9Q" X-Original-To: linux-kernel@vger.kernel.org Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6DC312230A; Thu, 4 Jan 2024 13:00:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=em8656SBmFHuCoSI6Hw7pHiwOvfMbL7DUtlbPOdcosg=; b=IIIPJc9QzwaijPod1f+lYfIUlU AYiygKn9dmrcgfr6FR8efPlyPxk7oGMaN60icGgMu2P2bEcU69iCW1SSbkdk/5b7dVh1BiBOujbRP WUxVzR6jyKZ7V5NdAC/HyYy+R13rrQ3o4w8K3QiHH7J3Wk3BZ+QN0meADrxgLU1N2zq0=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rLNKd-004LX7-Ub; Thu, 04 Jan 2024 14:00:19 +0100 Date: Thu, 4 Jan 2024 14:00:19 +0100 From: Andrew Lunn To: "Gan, Yi Fang" Cc: Greg Kroah-Hartman , Andrew Halaney , Javier Martinez Canillas , John Stultz , "Rafael J . Wysocki" , Jens Axboe , Russell King , Heiner Kallweit , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Marek =?iso-8859-1?Q?Beh=FAn?= , "netdev@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "Looi, Hong Aun" , "Voon, Weifeng" , "Song, Yoong Siang" , "Lai, Peter Jun Ann" , "Choong, Yong Liang" Subject: Re: [PATCH net v2 2/2] net: phylink: Add module_exit_stub() Message-ID: References: <20231221085109.2830794-1-yi.fang.gan@intel.com> <20231221085109.2830794-3-yi.fang.gan@intel.com> <0f85171e-cb9c-47dd-bb7d-f58537e24a54@lunn.ch> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Jan 04, 2024 at 09:45:47AM +0000, Gan, Yi Fang wrote: > Hi Andrew, > > The function phylink_init() is introduced by others. > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.6.y&id=eca68a3c7d05b38b4e728cead0c49718f2bc1d5a > The module_exit() is added by referring to > https://elixir.bootlin.com/linux/latest/source/kernel/module/main.c#L738. > Since the macro function is rejected, I will send a V3. > Let's see if Rusell King has any comment. Thanks. Please don't top post when using linux kernel mailing lists. > > You are missing justification it is actually safe to remove phylink. Maybe Russell > > King deliberately did not implement > > module_exit() because it can explode in interesting ways if it was? You still need to explain why it is safe to implement it. Andrew