Commit 3a5e7ec9 authored by Borislav Petkov's avatar Borislav Petkov

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

Pick up urgent change into next queue.
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
parents 9816b4af 1e72e673
......@@ -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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment