]> git.baikalelectronics.ru Git - kernel.git/commit
Always call i7core_[ur]dimm_check_mc_ecc_err
authorVernon Mauery <vernux@us.ibm.com>
Fri, 16 Apr 2010 22:40:19 +0000 (19:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 15:43:23 +0000 (12:43 -0300)
commita528d4425d8371b6bf79c0112e8c8a010897cb8c
tree8320e9f28bdbe9abb02664e9df35c8714f9898ee
parentacbc198858d1f57ef81a0f113b26eeb3e8d33e8d
Always call i7core_[ur]dimm_check_mc_ecc_err

This fixes an error in function i7core_check_error

In commit 385a6f259b2d4768311c4c9da1b88fbc81605ba3 which converts the
driver to use double buffering, there is a change in the logic.  Before,
if mce_count was zero, it skipped over a couple of statements and
finished out with a call to the *check_mc_ecc_err function.  The current
code checks to see if mce_count is 0 and then exits.

This change reverts the behavior back to the original where if there are
no errors to report, we skip to the end and call the *check_mc_ecc_err
function.

This fix allows the driver to work again on my Nehalem based blades
again.

Signed-off-by: Vernon Mauery <vernux@us.ibm.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/i7core_edac.c