diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c index 4a480da713b9bfc19b470dc9988335fd821c7c0c..5fa6e5ea8be334f2b5fea142b648b8f392190fd7 100644 --- a/drivers/edac/amd64_edac.c +++ b/drivers/edac/amd64_edac.c @@ -3363,6 +3363,8 @@ static int probe_one_instance(unsigned int nid) if (boot_cpu_data.x86 < 0x17) restore_ecc_error_reporting(s, nid, F3); + + goto err_enable; } return ret;