[PATCH net-next 5/9] net: dsa: mt7530: only indicate linkmodes that can be supported

Jakub Kicinski kuba at kernel.org
Wed Apr 6 11:52:50 PDT 2022


On Wed, 06 Apr 2022 11:48:57 +0100 Russell King (Oracle) wrote:
> -	if (state->interface != PHY_INTERFACE_MODE_MII) {
> +	if (state->interface != PHY_INTERFACE_MODE_MII &&
> +	    state->interface != PHY_INTERFACE_MODE_2500BASEX)
>  		phylink_set(mask, 1000baseT_Full);
>  		phylink_set(mask, 1000baseX_Full);
>  	}

Missing { here. Dunno if kbuild bot told you already.



More information about the Linux-mediatek mailing list