]> git.karo-electronics.de Git - karo-tx-linux.git/commit
amd64_edac: Reorganize error reporting path
authorBorislav Petkov <borislav.petkov@amd.com>
Thu, 30 Aug 2012 16:01:36 +0000 (18:01 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Wed, 24 Oct 2012 14:55:28 +0000 (16:55 +0200)
commit742d3b4efb7443712f57c9e91822095db8321fcb
tree976fe8556a35105a75d5cd97b0a25cbf495a9e9b
parent38a8b8e0a5c5547f9423cbc347f6e6e232c05fde
amd64_edac: Reorganize error reporting path

Rewrite CE/UE paths so that they use the same code and drop additional
code duplication in handle_ue. Add a struct err_info which collects
required info for the error reporting. This, in turn, helps slimming all
edac_mc_handle_error() calls down to one.

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