From: Borislav Petkov Date: Tue, 13 Oct 2009 17:26:55 +0000 (+0200) Subject: amd64_edac: wrap-up pci config read error handling X-Git-Tag: v2.6.33-rc1~324^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ba5dcdc44624677bba0bef1dcb93a524f88f8c1;p=pandora-kernel.git amd64_edac: wrap-up pci config read error handling Add a pci config read wrapper for signaling pci config space access errors instead of them being visible only on a debug build. This is important on amd64_edac since it uses all those pci config register values to access the DRAM/DIMM configuration of the nodes. In addition, the wrapper makes a _lot_ (look at the diffstat!) of error handling code superfluous and improves much of the overall code readability by removing error handling details out of the way. Signed-off-by: Borislav Petkov --- Reading git-diff-tree failed