Skip to content
Snippets Groups Projects
Commit 44d22e24 authored by Lans Zhang's avatar Lans Zhang Committed by Borislav Petkov
Browse files

EDAC: Cleanup device deregistering path


Use device_unregister to replace put_device + device_del for
cleanup, and fix the potential use after free.

Signed-off-by: default avatarLans Zhang <jia.zhang@windriver.com>
Signed-off-by: default avatarBorislav Petkov <bp@alien8.de>
parent 54451663
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment