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

From: Sean Anderson
Date: Wed Sep 07 2022 - 12:55:49 EST


On 9/7/22 5:42 AM, Russell King (Oracle) wrote:
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.


OK