]> git.baikalelectronics.ru Git - uboot.git/commit
net: phy: Fix return value check phy_probe
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Mon, 4 Mar 2019 15:02:11 +0000 (16:02 +0100)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 8 May 2019 22:27:00 +0000 (17:27 -0500)
commit6d737470216acbdad6e36bb08dcc454a453a86ca
treefee018e80c576d09c3ab300496d7e60b4da085ba
parent76fe9d9f241c1c5d48a96d4c237b374ca6a5fd8c
net: phy: Fix return value check phy_probe

Don't ignore return value of phy_probe() call as
the probe may fail and it needs to be reported.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/phy.c