diff options
| author | Borislav Petkov <borislav.petkov@amd.com> | 2009-10-13 21:26:55 +0400 |
|---|---|---|
| committer | Borislav Petkov <borislav.petkov@amd.com> | 2009-12-07 21:14:27 +0300 |
| commit | 6ba5dcdc44624677bba0bef1dcb93a524f88f8c1 (patch) | |
| tree | aa2aa4c95882b4451c2bf99c5228d81dd76e641d /net/lapb/lapb_subr.c | |
| parent | f6d6ae965760906d79ab29bc38507608c5971549 (diff) | |
| download | linux-6ba5dcdc44624677bba0bef1dcb93a524f88f8c1.tar.xz | |
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 <borislav.petkov@amd.com>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
