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

net: hns3: fix RoCE calling the wrong function problem



driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

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

In hnae3.h, if the function is not for test, the definition must before
CONFIG_HNS3_TEST! Because RoCE will use hnae3.h, and it won't set
CONFIG_HNS3_TEST, that may cause RoCE calling the wrong function.

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