]> git.baikalelectronics.ru Git - kernel.git/commit
amd64_edac: make driver loading more robust
authorBorislav Petkov <borislav.petkov@amd.com>
Mon, 21 Dec 2009 17:13:01 +0000 (18:13 +0100)
committerBorislav Petkov <borislav.petkov@amd.com>
Thu, 24 Dec 2009 10:07:07 +0000 (11:07 +0100)
commitfe001e2ebd617297fb94791fdd3f5e3d230728e6
tree59ae221911c7bef88711ba3054204e99d47f93a6
parentd4acd238d43eef91a38e528af2e26fea8b83c7ea
amd64_edac: make driver loading more robust

Currently, the module does not initialize fully when the DIMMs aren't
ECC but remains still loaded. Propagate the error when no instance of
the driver is properly initialized and prevent further loading.

Reorganize and polish error handling in amd64_edac_init() while at it.

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