]> 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>
Tue, 16 Oct 2012 14:15:42 +0000 (16:15 +0200)
commita94ebc4aeaed4abdc5d42ff5376534e2328699bd
tree1ccecc22a946e860d6e378bb50febb81c7893cc3
parent6c86fa721971e86ef96ffbf2b3738b28bf88bb41
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