net: hns3: modify an incorrect error log in hclge_mbx_handler()
authorHuazhong Tan <tanhuazhong@huawei.com>
Thu, 14 May 2020 12:41:24 +0000 (20:41 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 May 2020 20:18:09 +0000 (13:18 -0700)
commitcb25a6072b517b34d88f05ae29971c595d77df6e
tree008f97fff0cf12366cd492553c2dd7c268a601f2
parent727f514bd677420d4253ad84509710040e808899
net: hns3: modify an incorrect error log in hclge_mbx_handler()

When handling HCLGE_MBX_GET_LINK_STATUS, PF will return the link
status to the VF, so the error log of hclge_get_link_info() is
incorrect.

Reported-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c