提交 3a5e7ec9 编写于 作者: B Borislav Petkov

Merge branch 'edac-urgent' into edac-for-next

Pick up urgent change into next queue.
Signed-off-by: NBorislav Petkov <bp@suse.de>
......@@ -553,7 +553,11 @@ void ghes_edac_unregister(struct ghes *ghes)
if (!ghes_pvt)
return;
if (atomic_dec_return(&ghes_init))
return;
mci = ghes_pvt->mci;
ghes_pvt = NULL;
edac_mc_del_mc(mci->pdev);
edac_mc_free(mci);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册