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

amd64_edac: cleanup amd64_check_ecc_enabled



Simplify code flow and make sure return value is always valid since
further driver init depends on it. Carve out long warning string and
make code more readable. Shorten some names, while at it.

There should be no functional change resulting from this patch.

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