[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZOczOWMLJnzAdwV1@shell.armlinux.org.uk>
Date: Thu, 24 Aug 2023 11:38:49 +0100
From: "Russell King (Oracle)" <linux@...linux.org.uk>
To: Jakub Kicinski <kuba@...nel.org>
Cc: Alexandre Torgue <alexandre.torgue@...s.st.com>,
Jose Abreu <joabreu@...opsys.com>, Andrew Lunn <andrew@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Feiyang Chen <chenfeiyang@...ngson.cn>,
Heiner Kallweit <hkallweit1@...il.com>,
linux-arm-kernel@...ts.infradead.org,
linux-stm32@...md-mailman.stormreply.com,
Maxime Coquelin <mcoquelin.stm32@...il.com>, netdev@...r.kernel.org,
Paolo Abeni <pabeni@...hat.com>
Subject: Re: [PATCH net-next 5/9] net: stmmac: use phylink_limit_mac_speed()
On Wed, Aug 23, 2023 at 07:34:57PM -0700, Jakub Kicinski wrote:
> On Tue, 22 Aug 2023 19:50:24 +0100 Russell King (Oracle) wrote:
> > diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c
> > index b51cf92392d2..0d7354955d62 100644
> > --- a/drivers/net/phy/phylink.c
> > +++ b/drivers/net/phy/phylink.c
> > @@ -440,7 +440,7 @@ void phylink_limit_mac_speed(struct phylink_config *config, u32 max_speed)
> >
> > for (i = 0; i < ARRAY_SIZE(phylink_caps_params) &&
> > phylink_caps_params[i].speed > max_speed; i++)
> > - config->mac_speed &= ~phylink_caps_params.mask;
> > + config->mac_capabilities &= ~phylink_caps_params[i].mask;
> > }
> > EXPORT_SYMBOL_GPL(phylink_limit_mac_speed);
>
> This chunk belongs to patch 1?
Thanks for spotting that, you're absolutely right. I wonder why I didn't
merge that fix into the correct patch...
In any case, I added a 10th patch to the patch set which converts the
half-duplex capabilities to be positive logic. I'll resend it later
today.
I also have a raft of other stmmac cleanup patches which are steadily
growing at the moment!
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
Powered by blists - more mailing lists