]> git.baikalelectronics.ru Git - kernel.git/commit
net: mdio-octeon: Fix octeon_mdiobus_probe function for return values
authorRadha Mohan Chintakuntla <rchintakuntla@cavium.com>
Tue, 28 Jul 2015 22:12:12 +0000 (15:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2015 00:17:44 +0000 (17:17 -0700)
commit532969f7c1a1f4cab8aa979b553aaa9aefdf276b
treec3ba6f411ce222f8f74e3e0e5b45d681e451e2d3
parent905e6cf6879ac3929e8c51a109ffbcbe52c928fd
net: mdio-octeon: Fix octeon_mdiobus_probe function for return values

This patch fixes a possible crash in the octeon_mdiobus_probe function
if the return values are not handled properly.

Signed-off-by: Radha Mohan Chintakuntla <rchintakuntla@cavium.com>
Signed-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-octeon.c