提交 0e452e80 编写于 作者: C Chengchang Tang 提交者: ZhouJuan

RDMA/hns: Fix missing dealloc_dfx_cnt() during device unregister

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7PDHP

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

The function hns_roce_dealloc_dfx_cnt() was omitted while
uploading "RDMA/hns: Add dfx cnt stats".

This patch fixes it.

Fixes: d5a4ca75 ("RDMA/hns: Add dfx cnt stats")
Signed-off-by: NChengchang Tang <tangchengchang@huawei.com>
上级 f878aa7e
......@@ -1500,6 +1500,7 @@ void hns_roce_exit(struct hns_roce_dev *hr_dev, bool bond_cleanup)
hns_roce_cmd_cleanup(hr_dev);
if (hr_dev->hw->cmq_exit)
hr_dev->hw->cmq_exit(hr_dev);
hns_roce_dealloc_dfx_cnt(hr_dev);
}
MODULE_LICENSE("Dual BSD/GPL");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册