Frederick Lawler f0553ba08a PCI/AER: Use cached AER Capability offset
Replace pci_find_ext_capability(..., PCI_EXT_CAP_ID_ERR) calls with
pci_dev->aer_cap.

pci_dev->aer_cap is initialized in pci_init_capabilities(), which happens
before any of these users of the AER Capability.

Signed-off-by: Frederick Lawler <fred@fredlawl.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2018-03-30 17:26:59 -05:00
..
2018-02-01 11:40:07 -06:00
2018-02-06 09:59:40 -08:00
2018-02-01 11:40:07 -06:00
2018-02-01 11:40:07 -06:00
2018-02-06 09:59:40 -08:00
2018-01-18 12:55:24 -06:00
2018-02-01 11:40:07 -06:00
2018-02-01 11:40:07 -06:00
2018-02-01 11:40:07 -06:00
2018-02-01 11:40:07 -06:00
2018-02-01 11:40:07 -06:00
2018-02-01 11:40:07 -06:00
2018-02-01 11:40:07 -06:00
2018-02-01 11:40:07 -06:00
2018-01-18 12:55:24 -06:00
2018-02-01 11:40:07 -06:00