diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2020-05-14 14:41:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-14 22:18:09 +0200 |
commit | cb25a6072b517b34d88f05ae29971c595d77df6e (patch) | |
tree | 008f97fff0cf12366cd492553c2dd7c268a601f2 /drivers | |
parent | net: hns3: remove a duplicated printing in hclge_configure() (diff) | |
download | linux-cb25a6072b517b34d88f05ae29971c595d77df6e.tar.xz linux-cb25a6072b517b34d88f05ae29971c595d77df6e.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c index ac70fafd15d5..0874ae47cb03 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c @@ -742,7 +742,7 @@ void hclge_mbx_handler(struct hclge_dev *hdev) ret = hclge_get_link_info(vport, req); if (ret) dev_err(&hdev->pdev->dev, - "PF fail(%d) to get link stat for VF\n", + "failed to inform link stat to VF, ret = %d\n", ret); break; case HCLGE_MBX_QUEUE_RESET: |