PCI: pcie, aer: fix report of multiple errors
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Mon, 7 Sep 2009 08:10:40 +0000 (17:10 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 9 Sep 2009 20:47:46 +0000 (13:47 -0700)
commit0d465f23502e0810443c90a9cf1cf5686c4af4f2
tree7b40a9655387f20895e491ed6d0ad25bc2c66e4c
parent1b4ffcf8432f7945e0bd0571f10a2f2bd1dbd850
PCI: pcie, aer: fix report of multiple errors

The flag AER_MULTI_ERROR_VALID_FLAG in info->flag does mean that the
root port receives multiple error messages.  Error messages can be
posted from different devices, so it does not mean that each reported
device has multiple errors.

If there are multiple error devices and the root port has valid error
source ID, it would be nice to report which device is the error source
reported first.

Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/aer/aerdrv_errprint.c