diff options
author | Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> | 2010-04-15 00:15:08 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-05-11 15:01:16 -0400 |
commit | 7c4ec94f72cefec1c1b42219469794a34864a1ee (patch) | |
tree | 349c45d1e61680926af565d234fa852cc88c17ed /drivers/pci/.gitignore | |
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 <seto.hidetoshi@jp.fujitsu.com>
Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/.gitignore')
0 files changed, 0 insertions, 0 deletions