Message ID | 20231206072442.1628505-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 r17csp3936930vqy; Tue, 5 Dec 2023 23:25:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IFe+LLVxNykq6+7F9V+kifoE8QJ0/zaOqppmw7CvcnvVm2ssbP/Cz4BcpQZdK7zsmWdzuro X-Received: by 2002:a05:6808:1710:b0:3b8:b063:5d75 with SMTP id bc16-20020a056808171000b003b8b0635d75mr721112oib.92.1701847525461; Tue, 05 Dec 2023 23:25:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701847525; cv=none; d=google.com; s=arc-20160816; b=if68dJoryaARlZ4vbVAJhESMOksSNPEXIJcJSVusyaDHB3HjrG1cetKInu3cqcoxEz hc/NfGtCK2qIiLzUn/ERf64lq1UPY/XiVj2mcX9uYk3UYgEnlCpGfSjXBS4PdMLK58Z1 G6q5cmu90GIqNeTrKuWFk0K7KkGKBv+ycGaG+6LQJ2ZS2W9DMsZQOouWyaLEg5ydA2hM Egm+hvnbA7XHyDo0zwrumb24TGiKeZ8+Ec9wENOY97hNatHdiN7O2m8Oz6ZInI8MdGm8 SGzKaGgkoBAoVYc38AI/0I4dzoBp60QKoJjtooMcOGdFUPhRA1rPGc8wBU1iQfklFk+X ZH8g== 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=IwlufYxpuWwftX9Aj3oJtglRsNwFLoWx30Owe9Vqr1c=; fh=PHWqQ4sLztPSUtc3KG27GsjjTA5pWb1gvqsw/A+APNQ=; b=mikwfj+wI9hDT6QC6VNfhVOxU1h34/0VaztTlIOP+tW4GaBO4Xn+iuB10zWK3y0KnD R2wK88NuYmWxh8l8A+vrOUhqZ1nL454koax3o4ixlJdxuglM4G6oVNOY59jTo0E8Ubre rvHfUgjJ4gW1YxD+SV3RBL6kHX8W8jIRti8AaZH6UxvieTiOtX/LeyWDdW8RlfpDosz+ rglmlimigi+4TNI3h5O3uwUhN4rodmGl0xwEaMfYwh22+ggDXLiXKGzSk0MKuDUIMqA+ RihBAF4ICACvKsk3yF2swyP22yTIepr4KEb+zwzlV+X+tlxUfRkPoiO7+46VTNWyg2c8 BxUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=HrSGrNfv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id r1-20020a6560c1000000b005c680fbab19si5220901pgv.513.2023.12.05.23.25.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 23:25:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=HrSGrNfv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id 745DE822178A; Tue, 5 Dec 2023 23:25:20 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376973AbjLFHZJ (ORCPT <rfc822;pusanteemu@gmail.com> + 99 others); Wed, 6 Dec 2023 02:25:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229654AbjLFHZI (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 6 Dec 2023 02:25:08 -0500 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C270618F; Tue, 5 Dec 2023 23:25:14 -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=IwlufYxpuWwftX9Aj3oJtglRsNwFLoWx30Owe9Vqr1c=; b=HrSGrNfvdvvv4ZXYybaZqc/vQU +yUw7mYMeTKEn1piQdpgm5HxPRd/pOog7FpRq17J1bMQMxX7gCqfRBfwRlAsqiDPOxxiNG/ekd499 ClTTwYLLUH/aWYtOlG/bLv2wwJSLcsXS5wtVI6pjhH0eY65C9vnFSw6HsiJtr1BBCkRTU+Ibwnkor HdqP2Kb3sxvPAaYpk7jMcdKTnO5d36pd/8BDLXe5KFoNjgYMim2co+N30hQeIDutd8Chic2MGQUyF eOXSMbYpDhzEJ8bX30E+je7HiWoWDnNZMfX+VYONrGj+Sa1fIq3c9oPeY2OGRT6d1UQiFlF88rklw QK/1cAlA==; Received: from sslproxy02.your-server.de ([78.47.166.47]) 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 1rAmHR-000Bhh-39; Wed, 06 Dec 2023 08:25:13 +0100 Received: from [185.17.218.86] (helo=zen..) by sslproxy02.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <sean@geanix.com>) id 1rAmHQ-0005AJ-B2; Wed, 06 Dec 2023 08:25:12 +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>, Arun Ramadoss <arun.ramadoss@microchip.com> Cc: Sean Nyekjaer <sean@geanix.com>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net] net: dsa: microchip: use DSA_TAG_PROTO without _VALUE define Date: Wed, 6 Dec 2023 08:24:41 +0100 Message-ID: <20231206072442.1628505-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/27114/Tue Dec 5 09:39:00 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 morse.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 (morse.vger.email [0.0.0.0]); Tue, 05 Dec 2023 23:25:20 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784516471217102010 X-GMAIL-MSGID: 1784516471217102010 |
Series |
[net] net: dsa: microchip: use DSA_TAG_PROTO without _VALUE define
|
|
Commit Message
Sean Nyekjaer
Dec. 6, 2023, 7:24 a.m. UTC
Correct the use of define DSA_TAG_PROTO_LAN937X_VALUE to
DSA_TAG_PROTO_LAN937X to improve readability.
Fixes: 99b16df0cd52 ("net: dsa: microchip: lan937x: add dsa_tag_protocol")
Signed-off-by: Sean Nyekjaer <sean@geanix.com>
---
drivers/net/dsa/microchip/ksz_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Hi Sean, > -----Original Message----- > From: Sean Nyekjaer <sean@geanix.com> > Sent: Wednesday, December 6, 2023 12:55 PM > To: Woojung Huh - C21699 <Woojung.Huh@microchip.com>; > UNGLinuxDriver <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>; Arun Ramadoss - I17769 > <Arun.Ramadoss@microchip.com> > Cc: Sean Nyekjaer <sean@geanix.com>; netdev@vger.kernel.org; linux- > kernel@vger.kernel.org > Subject: [PATCH net] net: dsa: microchip: use DSA_TAG_PROTO without > _VALUE define > > [Some people who received this message don't often get email from > sean@geanix.com. Learn why this is important at > https://aka.ms/LearnAboutSenderIdentification ] > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Correct the use of define DSA_TAG_PROTO_LAN937X_VALUE to > DSA_TAG_PROTO_LAN937X to improve readability. > > Fixes: 99b16df0cd52 ("net: dsa: microchip: lan937x: add dsa_tag_protocol") > Signed-off-by: Sean Nyekjaer <sean@geanix.com> Not sure, whether it is a bug fix or not. Since it only improves readability. I believe it should point to net-next.
Hi Arun, > On 6 Dec 2023, at 09.58, <Arun.Ramadoss@microchip.com> <Arun.Ramadoss@microchip.com> wrote: > > Hi Sean, > >> -----Original Message----- >> From: Sean Nyekjaer <sean@geanix.com> >> Sent: Wednesday, December 6, 2023 12:55 PM >> To: Woojung Huh - C21699 <Woojung.Huh@microchip.com>; >> UNGLinuxDriver <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>; Arun Ramadoss - I17769 >> <Arun.Ramadoss@microchip.com> >> Cc: Sean Nyekjaer <sean@geanix.com>; netdev@vger.kernel.org; linux- >> kernel@vger.kernel.org >> Subject: [PATCH net] net: dsa: microchip: use DSA_TAG_PROTO without >> _VALUE define >> >> [Some people who received this message don't often get email from >> sean@geanix.com. Learn why this is important at >> https://aka.ms/LearnAboutSenderIdentification ] >> >> EXTERNAL EMAIL: Do not click links or open attachments unless you know the >> content is safe >> >> Correct the use of define DSA_TAG_PROTO_LAN937X_VALUE to >> DSA_TAG_PROTO_LAN937X to improve readability. >> >> Fixes: 99b16df0cd52 ("net: dsa: microchip: lan937x: add dsa_tag_protocol") >> Signed-off-by: Sean Nyekjaer <sean@geanix.com> > > Not sure, whether it is a bug fix or not. Since it only improves readability. > I believe it should point to net-next. > Agree :) Feel free to remove the Fixes tag while applying. /Sean
On Wed, Dec 06, 2023 at 10:00:52AM +0100, Sean Nyekjaer wrote: > Hi Arun, > > > On 6 Dec 2023, at 09.58, <Arun.Ramadoss@microchip.com> <Arun.Ramadoss@microchip.com> wrote: > > > > Hi Sean, > > > >> -----Original Message----- > >> Correct the use of define DSA_TAG_PROTO_LAN937X_VALUE to > >> DSA_TAG_PROTO_LAN937X to improve readability. > >> > >> Fixes: 99b16df0cd52 ("net: dsa: microchip: lan937x: add dsa_tag_protocol") > >> Signed-off-by: Sean Nyekjaer <sean@geanix.com> > > > > Not sure, whether it is a bug fix or not. Since it only improves readability. > > I believe it should point to net-next. > > > > Agree :) > > Feel free to remove the Fixes tag while applying. > > /Sean If you're talking to Arun: he can't do that. Only Jakub, David, Paolo and Eric can apply patches, and based on history, I don't think that either of them is keen on editing patches before applying. One way or another, based on past experience, you might be better off just resending, with the Fixes tag dropped, and patch retargeted to net-next (and counter incremented to v2). The criteria from Documentation/process/stable-kernel-rules.rst still apply pretty much to net.git as well, since these patches land in stable trees too. We triage as much as possible, to give users of stable kernels a worthwhile reason to update, not a change that results in absolutely the same generated machine code.
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; }