Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43f5e687 authored by Borislav Petkov's avatar Borislav Petkov
Browse files

amd64_edac: fix forcing module load/unload



Clear the override flag after force-loading the module.

Signed-off-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
parent 56b34b91
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2690,9 +2690,8 @@ static int amd64_check_ecc_enabled(struct amd64_pvt *pvt)
			amd64_printk(KERN_WARNING, "%s", ecc_warning);
			return -ENODEV;
		}
	} else
		/* CLEAR the override, since BIOS controlled it */
		ecc_enable_override = 0;
	}

	return 0;
}