]> Pileus Git - ~andy/linux/commit
PCI/AER: Consolidate HEST error source parsers
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 13 Dec 2013 22:42:53 +0000 (15:42 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 13 Dec 2013 22:52:47 +0000 (15:52 -0700)
commit3620437a73b0ba68bac9c4e8d0fc9b809efca521
tree3790fa23a3b8d262aab59a97484456ce651de8f5
parent8e7f8d0b30d4e3e30007b10eb2916d970b5f8c93
PCI/AER: Consolidate HEST error source parsers

aer_hest_parse() and aer_hest_parse_aff() are almost identical.  We use
aer_hest_parse() to check the ACPI_HEST_FIRMWARE_FIRST flag for a specific
device, and we use aer_hest_parse_aff() to check to see if any device sets
the flag.

This drops aer_hest_parse_aff() and enhances aer_hest_parse() so it
collects the union of the PCIe ACPI_HEST_FIRMWARE_FIRST flag settings when
no specific device is supplied.

No functional change.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Betty Dall <betty.dall@hp.com>
drivers/pci/pcie/aer/aerdrv_acpi.c