Re: [PATCH net-next v5 3/8] net: phylink: Generate caps and convert to linkmodes separately

From: Russell King (Oracle)
Date: Wed Sep 07 2022 - 05:42:12 EST


On Tue, Sep 06, 2022 at 12:18:47PM -0400, Sean Anderson wrote:
> @@ -409,11 +407,14 @@ void phylink_generic_validate(struct phylink_config *config,
> unsigned long *supported,
> struct phylink_link_state *state)
> {
> + unsigned long caps;
> __ETHTOOL_DECLARE_LINK_MODE_MASK(mask) = { 0, };

net code requires reverse christmas tree for variable declarations.

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!