PCI/AER: Cache capability position
authorKeith Busch <keith.busch@intel.com>
Tue, 27 Sep 2016 20:23:34 +0000 (16:23 -0400)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 27 Sep 2016 21:01:49 +0000 (16:01 -0500)
commit66b808099146166c44157600a166c8372172cd76
tree6dfd3e4ab300a3a3d07a6d546f8a1404c5d0f105
parent4b202b716e4e282c26c4a95952ea33e318c363ab
PCI/AER: Cache capability position

Save the position of the error reporting capability so it doesn't need to
be rediscovered during error handling.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Lukas Wunner <lukas@wunner.de>
drivers/pci/pcie/aer/aerdrv.c
drivers/pci/pcie/aer/aerdrv_core.c
drivers/pci/probe.c
include/linux/pci.h