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

Marek Behún kabel at kernel.org
Wed Apr 6 13:34:43 PDT 2022


On Wed, 6 Apr 2022 11:52:50 -0700
Jakub Kicinski <kuba at kernel.org> wrote:

> 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.

Probably not, because next patch removes this code entirely :)



More information about the linux-arm-kernel mailing list