Commit 6092f9a9 authored by Guangbin Huang's avatar Guangbin Huang Committed by Yang Yingliang
Browse files

net: hns3: modify error process of hclge_phy_link_status_wait()



driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

This patch modifies printing level from warn to err if read phy status
failed in hclge_phy_link_status_wait() function, adds printing the return
status ret, and return directly if read phy status failed.

Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Reviewed-by: default avatarPeng Li <lipeng321@huawei.com>
Reviewed-by: default avatarZhong Zhaohui <zhongzhaohui@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 79f1ea7a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment