]> git.baikalelectronics.ru Git - kernel.git/commit
amd64_edac: fix ECC checking
authorDoug Thompson <dougthompson@xmission.com>
Mon, 3 Aug 2009 10:37:06 +0000 (12:37 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Mon, 3 Aug 2009 14:54:20 +0000 (16:54 +0200)
commit1bbfa597df408b8f42e19f75c7baaa6237198569
tree034e8bab3512d4c5ff87400925a83754c2918937
parent41507b2becbcf9f1ff030de81da41febffa840fa
amd64_edac: fix ECC checking

On the good path of BIOS enabled ECC and no override, the value returned
is 1 by omission and thus is deemed failing by the probe-function.

Allow proper module initialization by clearing the retval explicitly.

Signed-off-by: Doug Thompson <dougthompson@xmission.com>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/amd64_edac.c