未验证 提交 5ca02e11 编写于 作者: O openeuler-ci-bot 提交者: Gitee

!1651 Fix missing dealloc_dfx_cnt() during device unregister

Merge Pull Request from: @stinft 
 
https://gitee.com/openeuler/kernel/issues/I7PDHP 
 
Link:https://gitee.com/openeuler/kernel/pulls/1651 

Reviewed-by: Chengchang Tang <tangchengchang@huawei.com> 
Signed-off-by: Jialin Zhang <zhangjialin11@huawei.com> 
......@@ -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.
先完成此消息的编辑!
想要评论请 注册