From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) (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 3032F208B6; Thu, 21 Dec 2023 08:54:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="SWaeveQ9" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1703148870; x=1734684870; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=nPqbnaHiW6+MXK3XW+N9OxQlTqrsdHfKbFZUo5uWY3g=; b=SWaeveQ9kJ1DJF8NJJ3PyVjUwBaVVq3eaJCwpFiA1QfV02ECPR9GSkDO 9qy1egz+bnXEB+4p+4hWKuGFePb5NjazbTc1UXqKjpz1ccYF1eB8tvD2l jvE4b7Te/t2tf/fNVpYXLIkpFwHXICrUDTj8aAnNNDdU1X1rIab89eYh/ aNCKjAUjGNR5Kr1PC602bcRBWCaAGOuAKtjqqgRsbPPL3/nL8cwXmIknI YYpPuiMQS18XuaJBEqPxIEZwrejEfDyw1umZLVE4siYuTv6gcnRh0G5AT 3QDZyU89M6mdM8ZJiyCOyFWyG+tTVHoZ1BikXZnTuISaSNe6xiK+mDLgZ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10930"; a="2793664" X-IronPort-AV: E=Sophos;i="6.04,293,1695711600"; d="scan'208";a="2793664" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Dec 2023 00:54:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10930"; a="842568301" X-IronPort-AV: E=Sophos;i="6.04,293,1695711600"; d="scan'208";a="842568301" Received: from ssid-ilbpg3-teeminta.png.intel.com (HELO localhost.localdomain) ([10.88.227.74]) by fmsmga008.fm.intel.com with ESMTP; 21 Dec 2023 00:54:23 -0800 From: "Gan, Yi Fang" To: Greg Kroah-Hartman , Andrew Halaney , Javier Martinez Canillas , John Stultz , "Rafael J . Wysocki" , Gan Yi Fang , Jens Axboe , Russell King , Andrew Lunn , Heiner Kallweit , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , =?UTF-8?q?Marek=20Beh=C3=BAn?= , netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Looi Hong Aun , Voon Weifeng , Song Yoong Siang , Lai Peter Jun Ann , Choong Yong Liang Subject: [PATCH net v2 0/2] Fix phylink unloadable issue Date: Thu, 21 Dec 2023 16:51:07 +0800 Message-Id: <20231221085109.2830794-1-yi.fang.gan@intel.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add module_exit_stub() for phylink module. Changes since v1: - Introduce a helper macro for module_exit() boilerplate This series is the combination of following: v1 with empty phylink_exit(): https://lore.kernel.org/all/20231127101603.807593-1-yi.fang.gan@intel.com/ v1 of module_exit_stub(): https://lore.kernel.org/all/20231212094352.2263283-1-yi.fang.gan@intel.com/ Gan, Yi Fang (2): driver.h: add helper macro for module_exit() boilerplate net: phylink: Add module_exit_stub() drivers/net/phy/phylink.c | 1 + include/linux/device/driver.h | 14 ++++++++++++++ 2 files changed, 15 insertions(+) -- 2.34.1