Message ID | 20231206160124.1935451-1-sean@geanix.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4202992vqy; Wed, 6 Dec 2023 08:02:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IEQbINaKHkHUoo/j0L+/kkzG6Di2MeTMNSub88hteNSccSt7+VUABAEpbmmzdJ8e9UQ2X9x X-Received: by 2002:a05:6830:6b90:b0:6d8:7f3a:fd2b with SMTP id dd16-20020a0568306b9000b006d87f3afd2bmr1171703otb.63.1701878549341; Wed, 06 Dec 2023 08:02:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701878549; cv=none; d=google.com; s=arc-20160816; b=thBvGnyqhR5pZpciFYV4bfhRkOl/JF0wVrBSYrKns6KzW8WLSDD6VAfL0HvwsJnfKr NgmN+9jJ88ay89XbBVJd2R75foDPekrvhsqm8zNaJ1tBVMTsq4toadNG5Q3OiXrhjpO0 QKcgmyfUGrf34Gn/kAXmm/mrP8k34/y5/C6a18px+KmmGJlVFO4ZrN0CB2e0L2Vaje/M PXqRiWrVpxaPc8lNlvFjqhMLO8MtSjo9NHCp3KvEThhRMqp0nNDd/2ayLZAl/k810gwS tmdB83Fwdff2a4WKrxfhPJ0MlduVwtzCdMJCfoBAneG54Bb6C6DyhwPCrvINCzBotXx5 azsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=PPwnyzbVFRU+/J8zRi2RxHkQRwUraCF/CHzZ1N+rdFY=; fh=y7t8D98G2l/2XlGLz2Ch6OAmRJ/2i32sa7AK1/xtqdo=; b=VLP5HPZEvkaXaN22slLQ1MJ5irHU/iUoacuv5USUB1hfjCBBai370xdPC2c1X5FdIZ Z1D+xtH/W/rSOXg6rlfKY9Asuu2JBA+xOs9TvkA1sAKw5efcUnnWFKbqVyP9bNusoOXm M586joWY8ozH0axpJgODnXgb+lm2w036yWjyZt+BntpKKNhE0aIW9rrXgfmNDxV53gvO ZMlneil13pCoxzm2ubhOJJqJwReIwQf6ku1JluSO+pKeqyoHQjdN+4B/fOFnn6fQ8kao y1z8uN5Hzd+19CoI5Tp+Rdz8f3pPyb9MQ1aGG6YUvetectU23+2WkpXp/LISPdI/dsXF uGqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=qT1mSuS+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.com Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id i12-20020a9d53cc000000b006d99b9b9dfdsi38688oth.88.2023.12.06.08.02.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 08:02:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=qT1mSuS+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id B6AE9802A36A; Wed, 6 Dec 2023 08:02:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379699AbjLFQB7 (ORCPT <rfc822;pusanteemu@gmail.com> + 99 others); Wed, 6 Dec 2023 11:01:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379476AbjLFQBy (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 6 Dec 2023 11:01:54 -0500 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 <sean@geanix.com>) 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 <sean@geanix.com>) id 1rAuLK-000USs-Or; Wed, 06 Dec 2023 17:01:46 +0100 From: Sean Nyekjaer <sean@geanix.com> To: Woojung Huh <woojung.huh@microchip.com>, UNGLinuxDriver@microchip.com, Andrew Lunn <andrew@lunn.ch>, Florian Fainelli <f.fainelli@gmail.com>, Vladimir Oltean <olteanv@gmail.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com> Cc: Sean Nyekjaer <sean@geanix.com>, 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 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.10/27115/Wed Dec 6 09:44:21 2023) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 06 Dec 2023 08:02:26 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784549001460774477 X-GMAIL-MSGID: 1784549001460774477 |
Series |
[v2,net-next] net: dsa: microchip: use DSA_TAG_PROTO without _VALUE define
|
|
Commit Message
Sean Nyekjaer
Dec. 6, 2023, 4:01 p.m. UTC
Correct the use of define DSA_TAG_PROTO_LAN937X_VALUE to
DSA_TAG_PROTO_LAN937X to improve readability.
Signed-off-by: Sean Nyekjaer <sean@geanix.com>
---
Changes since v1:
- removed Fixes tag
drivers/net/dsa/microchip/ksz_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Wed, Dec 06, 2023 at 05:01:23PM +0100, Sean Nyekjaer wrote: > Correct the use of define DSA_TAG_PROTO_LAN937X_VALUE to > DSA_TAG_PROTO_LAN937X to improve readability. > > Signed-off-by: Sean Nyekjaer <sean@geanix.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Andrew
On Wed, 2023-12-06 at 17:01 +0100, Sean Nyekjaer wrote: > Correct the use of define DSA_TAG_PROTO_LAN937X_VALUE to > DSA_TAG_PROTO_LAN937X to improve readability. > > Signed-off-by: Sean Nyekjaer <sean@geanix.com> Acked-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>: On Wed, 6 Dec 2023 17:01:23 +0100 you wrote: > Correct the use of define DSA_TAG_PROTO_LAN937X_VALUE to > DSA_TAG_PROTO_LAN937X to improve readability. > > Signed-off-by: Sean Nyekjaer <sean@geanix.com> > --- > Changes since v1: > - removed Fixes tag > > [...] Here is the summary with links: - [v2,net-next] net: dsa: microchip: use DSA_TAG_PROTO without _VALUE define https://git.kernel.org/netdev/net-next/c/cf02bea7c171 You are awesome, thank you!
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; }