mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 07:01:32 +00:00
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>
This commit is contained in:
parent
727f514bd6
commit
cb25a6072b
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user