Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0c661001 authored by Axel Lin's avatar Axel Lin Committed by David S. Miller
Browse files

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: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarKrzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 238c8558
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment