2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00
linux-next/drivers/net/ethernet/hisilicon
Salil Mehta 752b06946c net: hns3: Fixes the wrong IS_ERR check on the returned phydev value
This patch removes the wrong check being done for the phy device being
returned by the mdiobus_get_phy() function. This function never returns
the error pointers.

Fixes: 256727da73 ("net: hns3: Add MDIO support to HNS3 Ethernet
Driver for hip08 SoC")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-30 15:29:42 -07:00
..
hns net: hns: Fix for __udivdi3 compiler error 2017-08-04 11:06:59 -07:00
hns3 net: hns3: Fixes the wrong IS_ERR check on the returned phydev value 2017-08-30 15:29:42 -07:00
hip04_eth.c net: hip04: Omit private ndo_get_stats function 2017-02-14 15:03:21 -05:00
hisi_femac.c drivers: net: generalize napi_complete_done() 2017-01-30 15:10:42 -05:00
hix5hd2_gmac.c drivers: net: generalize napi_complete_done() 2017-01-30 15:10:42 -05:00
hns_mdio.c net: hns: Fix a wrong op phy C45 code 2017-07-08 11:05:21 +01:00
Kconfig net: hns3: Add HNS3 driver to kernel build framework & MAINTAINERS 2017-08-03 15:08:18 -07:00
Makefile net: hns3: Add HNS3 driver to kernel build framework & MAINTAINERS 2017-08-03 15:08:18 -07:00