Skip to content
Commit 56b34b91 authored by Borislav Petkov's avatar Borislav Petkov
Browse files

amd64_edac: make driver loading more robust



Currently, the module does not initialize fully when the DIMMs aren't
ECC but remains still loaded. Propagate the error when no instance of
the driver is properly initialized and prevent further loading.

Reorganize and polish error handling in amd64_edac_init() while at it.

Signed-off-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
parent 8f68ed97
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