diff options
| author | Hidetoshi Seto <[email protected]> | 2010-04-15 13:15:08 +0900 |
|---|---|---|
| committer | Jesse Barnes <[email protected]> | 2010-05-11 12:01:16 -0700 |
| commit | 7c4ec94f72cefec1c1b42219469794a34864a1ee (patch) | |
| tree | 349c45d1e61680926af565d234fa852cc88c17ed /tools/perf/scripts/python/bin | |
| parent | 4a0c096efd4383fc98aa40e195363f600ba814f8 (diff) | |
PCI: aerdrv: rework aer_isr_one_error()
Divide tricky for-loop into readable if-blocks.
The logic to set multi_error_valid (to force walking pci bus
hierarchy to find 2nd~ error devices) is changed too, to check
MULTI_{,_UN}COR_RCV bit individually and to force walk only when
it is required.
And rework setting e_info->severity for uncorrectable, not to use
magic numbers.
Signed-off-by: Hidetoshi Seto <[email protected]>
Reviewed-by: Kenji Kaneshige <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions