mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
Merge branch 'edac-urgent' into edac-for-next
Pick up urgent change into next queue. Signed-off-by: Borislav Petkov <bp@suse.de>
This commit is contained in:
commit
3a5e7ec903
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user