commit | 9697f1cde9901c00298fd1313b4aaf96f287bf7a | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Thu Dec 11 12:49:16 2014 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Dec 11 21:00:08 2014 -0500 |
tree | 2298b1c69843267ef079f7d7486caf1f3e433c79 | |
parent | 53013c77437c9b00658fc112b4e0aecd221c512a [diff] |
net: dsa: propagate error code from dsa_slave_phy_setup In case we cannot attach to our slave netdevice PHY, error out and propagate that error up to the caller: dsa_slave_create(). Fixes: 0d8bcdd383b8 ("net: dsa: allow for more complex PHY setups") Signed-off-by: Andrey Volkov <andrey.volkov@nexvision.fr> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>