summaryrefslogtreecommitdiff
path: root/net/dcb/dcbnl.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-01-04 19:24:06 +0000
committerDavid S. Miller <davem@davemloft.net>2011-01-06 11:12:01 -0800
commit0c6610017459ed9642548694fe88971d3f4206aa (patch)
treec9ce737e7e881f611b894605fee75f6eee0f1a50 /net/dcb/dcbnl.c
parent238c855805c853eaec95b0bc3065effb64f955a0 (diff)
downloadlinux-stable-0c6610017459ed9642548694fe88971d3f4206aa.tar.gz
linux-stable-0c6610017459ed9642548694fe88971d3f4206aa.tar.bz2
linux-stable-0c6610017459ed9642548694fe88971d3f4206aa.zip
net: ixp4xx_eth: Return proper error for eth_init_one
Return PTR_ERR(port->phydev) instead of 1 if phy_connect failed. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Krzysztof Halasa <khc@pm.waw.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dcb/dcbnl.c')
0 files changed, 0 insertions, 0 deletions