From: Florian Fainelli Date: Thu, 11 Dec 2014 20:49:16 +0000 (-0800) Subject: net: dsa: propagate error code from dsa_slave_phy_setup X-Git-Tag: omap-for-v3.20/drop-legacy-3517~98^2~12^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9697f1cde9901c00298fd1313b4aaf96f287bf7a;p=pandora-kernel.git 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 Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed