[PATCH net-next 5/9] net: stmmac: use phylink_limit_mac_speed()
Jakub Kicinski
kuba at kernel.org
Wed Aug 23 19:34:57 PDT 2023
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?
--
pw-bot: cr
More information about the linux-arm-kernel
mailing list