Commit 3d5c2eda authored by Yonglong Liu's avatar Yonglong Liu Committed by Yang Yingliang
Browse files

net: hns3: fix ret not initialized problem in hclge_get_dfx_reg()



driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

----------------------------

If the parameter is not valid in hclge_get_dfx_reg(), the ret
is used but not initialized.

Signed-off-by: default avatarYonglong Liu <liuyonglong@huawei.com>
Reviewed-by: default avatarli yongxin <liyongxin1@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 513b1a95
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment