[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <873795g4jr.fsf@weeman.i-did-not-set--mail-host-address--so-tickle-me>
Date: Sat, 05 Aug 2017 16:09:28 -0400
From: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
To: Andrew Lunn <andrew@...n.ch>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel@...oirfairelinux.com,
"David S. Miller" <davem@...emloft.net>,
Florian Fainelli <f.fainelli@...il.com>
Subject: Re: [PATCH net-next 1/3] net: dsa: assign switch device in legacy code
Hi Andrew,
Andrew Lunn <andrew@...n.ch> writes:
>> @@ -251,8 +251,9 @@ dsa_switch_setup(struct dsa_switch_tree *dst, struct net_device *master,
>> ds->cd = cd;
>> ds->ops = ops;
>> ds->priv = priv;
>> + ds->dev = parent;
>
> Is this even needed? dsa_switch_alloc() does ds->dev = dev.
You are correct! Respinning.
Thanks,
Vivien
Powered by blists - more mailing lists