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

amd64_edac: fix ecc_enable_override handling



amd64_check_ecc_enabled() returns non-zero status when ECC
checking/correcting is disabled and this fails further loading of the
driver even when 'ecc_enable_override' boot param is used.

Fix that by clearing return status in that case.

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