Re: [PATCH net-next] phylink: avoid attaching more than one PHY

2017-12-21 Thread David Miller
From: Russell King Date: Wed, 20 Dec 2017 23:23:33 + > Attaching more than one PHY to phylink is bad news, as we store a > pointer to the PHY in a single location. Error out if more than one > PHY is attempted to be attached. > > Signed-off-by: Russell King Applied, thank you.

Re: [PATCH net-next] phylink: avoid attaching more than one PHY

2017-12-21 Thread Andrew Lunn
On Wed, Dec 20, 2017 at 11:23:33PM +, Russell King wrote: > Attaching more than one PHY to phylink is bad news, as we store a > pointer to the PHY in a single location. Error out if more than one > PHY is attempted to be attached. > > Signed-off-by: Russell King Reviewed-by: Andrew Lunn

[PATCH net-next] phylink: avoid attaching more than one PHY

2017-12-20 Thread Russell King
Attaching more than one PHY to phylink is bad news, as we store a pointer to the PHY in a single location. Error out if more than one PHY is attempted to be attached. Signed-off-by: Russell King --- drivers/net/phy/phylink.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/phy/