aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorHuazhong Tan <tanhuazhong@huawei.com>2018-05-01 19:56:01 +0100
committerDavid S. Miller <davem@davemloft.net>2018-05-01 15:08:37 -0400
commitc5ef83cbb1e9fa17a3b78fb2deb25ae8beebbf48 (patch)
tree9bacfda20143e4fa5b2fbe45373d631ddb429494 /drivers/ata
parentnet: hns3: Fixes the error legs in hclge_init_ae_dev function (diff)
downloadlinux-dev-c5ef83cbb1e9fa17a3b78fb2deb25ae8beebbf48.tar.xz
linux-dev-c5ef83cbb1e9fa17a3b78fb2deb25ae8beebbf48.zip
net: hns3: fix for phy_addr error in hclge_mac_mdio_config
When phy exists, phy_addr must less than PHY_MAX_ADDR. If not, hclge_mac_mdio_config should return error. And for fiber(phy_addr=0xff), it does not need hclge_mac_mdio_config. Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions