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:Yonglong Liu <liuyonglong@huawei.com> Reviewed-by:
Yongxin Li <liyongxin1@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment