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: NYonglong Liu <liuyonglong@huawei.com> Reviewed-by: NYongxin Li <liyongxin1@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录