Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp10417rdb; Thu, 21 Dec 2023 00:55:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IENLGT+ZMzDLQMZ+xfjuDDz1NQB1lRf+Xv1zX7/gJUZ3TxIOKY/lR0+KAX9vdGjDZINE7Wf X-Received: by 2002:a17:907:9877:b0:a23:4b44:7dcc with SMTP id ko23-20020a170907987700b00a234b447dccmr3487347ejc.33.1703148920666; Thu, 21 Dec 2023 00:55:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703148920; cv=none; d=google.com; s=arc-20160816; b=FHdhDhK1crVfAofyLPrndjdZoIZiC+++1QXS9vMJw+snon2WngIEMElkfgqsvnRCOt cwpYFI0B2J9o7+1BoXVk+YmlwEALifIj+/uyIfhGFHUr2rAgQN0az69tMJEF7TwCZneg 40ZWmz4JgzHJC484QesbLdKGsZcHCj8xmE1vXvbsNXtC5RmH9OMmpzvshEzxGfRmYN6v +mxngxb5vSBCMYIO0lKytHI/YM4368nCOxadc7BgY4zAaQKmK08g9yJZmbxobCERM8dd Va5+Z/l2QOTRsa+zFcm2pkv5vlggNv9Urich7hwgWEwK4brzITnkiNQ9qiBO/1PTZeMM IDHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=Jwbtd91SfC/3CTQ6al+L9CrFp9Tjum77AKAWV5QZ3+s=; fh=JhCqbF4gKBTnfq5pCBXWHsT+mGI+wlxAlh9egES2Iko=; b=x0kCeBpurA7JI3ywnerxO5GKGODgRPBAXIijzLBRt1YauWj+ypX+uXeF5TAWZIuWD9 Hs71zszJ3pCnsFoUZ0bjNqkZVvdxhbsykzd47isTIZieIzh/M8r8bK+cZq7AZBuIhl// zyhFRs9ZR5x86L14h+r18S0ZbBhAI451xV1j2gCzA0Z4PpBpNAjP9I88L9mp+GhFgUxj 4ojnkxuk169GOa1mjTPproT+CIyDUdzH0UFRmsrU8QIqsRkGr5atC5JiPG3yjeCUfR4n QcfRKQjlIV08laDQN8uob51w6nFNLQY1i0pev5HrZeS1YCThMbtHjAhwMKgeBDlQbXSE OwSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SWaeveQ9; spf=pass (google.com: domain of linux-kernel+bounces-8024-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8024-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id dv26-20020a170906b81a00b00a2357549fc9si640773ejb.548.2023.12.21.00.55.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 00:55:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8024-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SWaeveQ9; spf=pass (google.com: domain of linux-kernel+bounces-8024-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8024-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 6AFF21F23DA4 for ; Thu, 21 Dec 2023 08:55:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 29D4325552; Thu, 21 Dec 2023 08:54:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="SWaeveQ9" X-Original-To: linux-kernel@vger.kernel.org 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 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: linux-kernel@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