Message ID | 20240301-net-v7-9-45823597d4d4@outlook.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-87873-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp838809dyb; Thu, 29 Feb 2024 19:39:10 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUbnrHoOfnewR9fK7z0Kx3xYEztnvKiXL5xzAjnb5wvOen/Mg9bvblE29QioNZDywpnWhV/JuC5PKapUTn9wr3Qbm//Pg== X-Google-Smtp-Source: AGHT+IGoPhlDtpSNxxgSmmSu46CDfsvw3r9CPHIfAqK8zn8OjKBVQCiEIBVt1NpQRUEm+9T/YrWT X-Received: by 2002:ac8:5cc8:0:b0:42e:be5c:9248 with SMTP id s8-20020ac85cc8000000b0042ebe5c9248mr429857qta.56.1709264349709; Thu, 29 Feb 2024 19:39:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709264349; cv=pass; d=google.com; s=arc-20160816; b=fs4D3BWJSOSc2HIIRlqZGrqOUtO1EJT3FAWzhe4NJMOlJd8VvpftGcfqESDvKH77D/ yHtEr/pIJWaFPqmYzSrxbG/R1ONfXCvLH/Nf8DoevpqxrQ0PPOeIdSGkKqLeCcW5QBfC t6GUWARWbjgFs3xXFRcgnKxMpBAUoJpiGOEHbhYwRNNG/d2l5tgWKYWx9RvnQL77yMDk QGX2K6/AG3u9ZqLpg14MwRMRGyO9xezTOKFfbWpT89LyeAi3+431NIw/+FOhxhTLNaSM LNg39zaOjnn9QZF6d0qGyTn44QGOCojKNKzBcFxe0mdUt5BQSEZGUy/1WSXz8S/fxNZC ba4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=l8MnFaDOacSPPANYK53LBdY9DAg2kyhJATZ6tAjM2G8=; fh=xf53zEEwO8UfwqXA8rNDXb86USgBpvamfpvPadu/NTs=; b=H9qsExJAwFpp/1ffp20PMqwJsWGZmHcLetS62rvp0T9pt4UWecHDofmP77n3aP1gIh p2EmJhCWcVkmBq3msG1rBSxdXSZ9hppzPaJ7weYoV9iWfZ+xxiqdE9kT7fX3EyH7iUAR wcKqdeM60NuPFDfQl1UzAirsbDAL6at9e0tb23jgx4L3sG19MDw4jdHCbtt11ecf+6d0 Jvb2qNHa1ij9DSG25y87sllJPQc4PkhE2G9d2zFm+WfFK6OBaW5YpTNotwNxg8dqHt6M 85HQ4oWpMKmzRcaEIyvpLJ+6jwFF83e78N4xvL7wNXr0sfNJIprL9kys6DyhoGYuSbJ+ 6N/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ayq0m4fm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-87873-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87873-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h22-20020ac87d56000000b0042e64976ecfsi3019256qtb.472.2024.02.29.19.39.09 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 19:39:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87873-ouuuleilei=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=@kernel.org header.s=k20201202 header.b=ayq0m4fm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-87873-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87873-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 7E6371C20F6C for <ouuuleilei@gmail.com>; Fri, 1 Mar 2024 03:39:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 62F9956B95; Fri, 1 Mar 2024 03:36:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ayq0m4fm" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 2A5BC482D8; Fri, 1 Mar 2024 03:36:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709264161; cv=none; b=GTU45Yt1aSNSU2kr1rXry1fnXoRUF8lr6gM3NGA7jcSQTcuuXo1Pvq5Z3m/7Ut6CCUO9cd1sRwVHV+u7vU3Aoncv/Isr3ZuY1a3CE0UANR7CWRc4oHuDK2neCioBQi0rJiddXbDPsqoUZ0ybB6j7TrxUHz02PvTWfSJFOPswU44= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709264161; c=relaxed/simple; bh=7MMrpaeosl/HNUkEmXL5fvfi4arjsMc5l6Z2bn8XT50=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=NQsosUpjqYUlGdt473/+Ksmwp1T72qdDANGxUss7POqYSeMZF7HUOcUAWxzHYZmCqqN3KB6R8gVnjGIzTybY4392FVg9E2T87MLOZ+FeOvnfto02PTzolkpB/I8jB/ipjqI1ScL+egIJ3yd2pI/NJfBl6F57cRFtoqHG/tgVLv4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ayq0m4fm; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id D02F9C32781; Fri, 1 Mar 2024 03:36:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709264160; bh=7MMrpaeosl/HNUkEmXL5fvfi4arjsMc5l6Z2bn8XT50=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=ayq0m4fmc3kYLRBYiF0XcKRP60Pq/NpI3LwNabcyvSP9sxAA9SWZ9yKMSY8Y66Omy IkVAxVe7I7/v5H2s+2xMSfXnHYqDSwU7QHz+BkONawbrcSiCuupV5Oc1oSuULoxxHm 6DwjUOewXUPs5nUI3XK50DjaXZ/qmo98QXWfHDHNV8GggYv2adZkHIZmodhjiCw/5I hQRJXii3JA3B/I3GRWX30X3bJxiI3+K/912tTv+Xj7AomvG4KwqebH6tKd2k12s8bW RG6JZ9qmSe4uPiSrEkqn4Agw+9MbRb2UJXCj/RV+yjg4VJYmavKDn0XAm4w2o716Uk Tp0kMJwJPrw1Q== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B911FC54E4A; Fri, 1 Mar 2024 03:36:00 +0000 (UTC) From: Yang Xiwen via B4 Relay <devnull+forbidden405.outlook.com@kernel.org> Date: Fri, 01 Mar 2024 11:36:02 +0800 Subject: [PATCH net-next v7 9/9] net: hisi_femac: remove unused MODULE_ALIAS() Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240301-net-v7-9-45823597d4d4@outlook.com> References: <20240301-net-v7-0-45823597d4d4@outlook.com> In-Reply-To: <20240301-net-v7-0-45823597d4d4@outlook.com> To: Yisen Zhuang <yisen.zhuang@huawei.com>, Salil Mehta <salil.mehta@huawei.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Andrew Lunn <andrew@lunn.ch>, Heiner Kallweit <hkallweit1@gmail.com>, Russell King <linux@armlinux.org.uk> Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Yang Xiwen <forbidden405@outlook.com> X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1709264157; l=755; i=forbidden405@outlook.com; s=20240228; h=from:subject:message-id; bh=+34jZ1SKVkOv2MrXgtbQ7Xmywsr8EdEjQMnJi4ShHRs=; b=I7cBEABnNwTuWfyboWMHMrZ5qaVqOs8glzX8mOuOV5IRCw7VivfzHePoyU78v02FUskRZLEem O1rRHgJyGypDAQI1kDtYciXwYi+W6dSPdgr/KOMqPKvqNY49d25sYk8 X-Developer-Key: i=forbidden405@outlook.com; a=ed25519; pk=KAWv6ZzFsT54MGllOczJgFiWB+DuayEmyn24iiVVThU= X-Endpoint-Received: by B4 Relay for forbidden405@outlook.com/20240228 with auth_id=136 X-Original-From: Yang Xiwen <forbidden405@outlook.com> Reply-To: <forbidden405@outlook.com> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792293574694605614 X-GMAIL-MSGID: 1792293574694605614 |
Series |
net: hisi-femac: add support for Hi3798MV200, remove unmaintained compatibles
|
|
Commit Message
Yang Xiwen via B4 Relay
March 1, 2024, 3:36 a.m. UTC
From: Yang Xiwen <forbidden405@outlook.com> We already have MODULE_DEVICE_TABLE(), so this MODULE_ALIAS() has no use and should be removed. Signed-off-by: Yang Xiwen <forbidden405@outlook.com> --- drivers/net/ethernet/hisilicon/hisi_femac.c | 1 - 1 file changed, 1 deletion(-)
Comments
On 01/03/2024 04:36, Yang Xiwen via B4 Relay wrote: > From: Yang Xiwen <forbidden405@outlook.com> > > We already have MODULE_DEVICE_TABLE(), so this MODULE_ALIAS() has no use > and should be removed. > That's not accurate. You don't have for platform IDs, so you basically remove ability to autoload via platform. It's fine for me, but the commit msg is just misleading. Best regards, Krzysztof
diff --git a/drivers/net/ethernet/hisilicon/hisi_femac.c b/drivers/net/ethernet/hisilicon/hisi_femac.c index 22a4697e0dde..2ecc10a9ca28 100644 --- a/drivers/net/ethernet/hisilicon/hisi_femac.c +++ b/drivers/net/ethernet/hisilicon/hisi_femac.c @@ -1014,4 +1014,3 @@ module_platform_driver(hisi_femac_driver); MODULE_DESCRIPTION("Hisilicon Fast Ethernet MAC driver"); MODULE_AUTHOR("Dongpo Li <lidongpo@hisilicon.com>"); MODULE_LICENSE("GPL v2"); -MODULE_ALIAS("platform:hisi-femac");