From patchwork Wed Dec 6 16:01:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 13481983 X-Patchwork-Delegate: kuba@kernel.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=geanix.com header.i=@geanix.com header.b="qT1mSuS+" Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0631210E9; Wed, 6 Dec 2023 08:01:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date: Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=PPwnyzbVFRU+/J8zRi2RxHkQRwUraCF/CHzZ1N+rdFY=; b=qT1mSuS+zh67dPIEi2z+O0OOa2 qItE3qfLG8hpKh3cSPi4XY8qmTFPbbQp+Ii6X0rAGlQ3vFtPjs35Pa2KLAcitUC3CV6nLPNJAMuCQ iAYQBsrwAflJt3Mw7KAzQM2wbBhzDc+Pmw3cMn9C8lDJrbr/XkBY7apK3wX9cpWeA0pkT+eYGdlC/ yVQc9LReNAxbghg96E1hMQBwzgvdEa3wdOz1TWwwwquUay3d6kbd2k/Ba3a4cs+Wfb1X1YErmwEUu ltWp6S37fsKME6AyabEOW1+E6eS05IrVSNz5ceHooDmQSMYa6eFfBMg4V0DAfK1fkQDnjZAdaaLnb 4nqVoiNg==; Received: from sslproxy03.your-server.de ([88.198.220.132]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rAuLL-000Iek-J3; Wed, 06 Dec 2023 17:01:47 +0100 Received: from [185.17.218.86] (helo=zen..) by sslproxy03.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rAuLK-000USs-Or; Wed, 06 Dec 2023 17:01:46 +0100 From: Sean Nyekjaer To: Woojung Huh , UNGLinuxDriver@microchip.com, Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Sean Nyekjaer , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 net-next] net: dsa: microchip: use DSA_TAG_PROTO without _VALUE define Date: Wed, 6 Dec 2023 17:01:23 +0100 Message-ID: <20231206160124.1935451-1-sean@geanix.com> X-Mailer: git-send-email 2.42.0 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.10/27115/Wed Dec 6 09:44:21 2023) X-Patchwork-Delegate: kuba@kernel.org Correct the use of define DSA_TAG_PROTO_LAN937X_VALUE to DSA_TAG_PROTO_LAN937X to improve readability. Signed-off-by: Sean Nyekjaer Reviewed-by: Andrew Lunn Acked-by: Arun Ramadoss --- Changes since v1: - removed Fixes tag drivers/net/dsa/microchip/ksz_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/dsa/microchip/ksz_common.c b/drivers/net/dsa/microchip/ksz_common.c index 286e20f340e5..5c2214784ed0 100644 --- a/drivers/net/dsa/microchip/ksz_common.c +++ b/drivers/net/dsa/microchip/ksz_common.c @@ -2614,7 +2614,7 @@ static enum dsa_tag_protocol ksz_get_tag_protocol(struct dsa_switch *ds, proto = DSA_TAG_PROTO_KSZ9477; if (is_lan937x(dev)) - proto = DSA_TAG_PROTO_LAN937X_VALUE; + proto = DSA_TAG_PROTO_LAN937X; return proto; }