Re: [PATCH -next] net: phy: test the right variable in phy_write_mmd()

2017-04-17 Thread David Miller
From: Dan Carpenter Date: Fri, 14 Apr 2017 22:10:41 +0300 > This is a copy and paste buglet. We meant to test for ->write_mmd but > we test for ->read_mmd. > > Fixes: 1ee6b9bc6206 ("net: phy: make phy_(read|write)_mmd() generic MMD > accessors") > Signed-off-by: Dan Carpenter Applied, thanks

Re: [PATCH -next] net: phy: test the right variable in phy_write_mmd()

2017-04-14 Thread Andrew Lunn
On Fri, Apr 14, 2017 at 10:10:41PM +0300, Dan Carpenter wrote: > This is a copy and paste buglet. We meant to test for ->write_mmd but > we test for ->read_mmd. > > Fixes: 1ee6b9bc6206 ("net: phy: make phy_(read|write)_mmd() generic MMD > accessors") > Signed-off-by: Dan Carpenter Reviewed-by:

[PATCH -next] net: phy: test the right variable in phy_write_mmd()

2017-04-14 Thread Dan Carpenter
This is a copy and paste buglet. We meant to test for ->write_mmd but we test for ->read_mmd. Fixes: 1ee6b9bc6206 ("net: phy: make phy_(read|write)_mmd() generic MMD accessors") Signed-off-by: Dan Carpenter diff --git a/drivers/net/phy/phy-core.c b/drivers/net/phy/phy-core.c index 357a4d0d7641