summaryrefslogtreecommitdiffstats
path: root/lib/kasprintf.c
diff options
context:
space:
mode:
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>2010-04-15 13:15:08 +0900
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-05-11 12:01:16 -0700
commit7c4ec94f72cefec1c1b42219469794a34864a1ee (patch)
tree349c45d1e61680926af565d234fa852cc88c17ed /lib/kasprintf.c
parent4a0c096efd4383fc98aa40e195363f600ba814f8 (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 'lib/kasprintf.c')
0 files changed, 0 insertions, 0 deletions