PCI/AER: Use "aer" variable for capability offset
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 29 May 2020 22:56:09 +0000 (17:56 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 1 Jun 2020 17:03:22 +0000 (12:03 -0500)
commit07b2fbb565e2df7ccc41e5c977b19f5f1f9fe013
tree2b81f70bf6be369f18bae61e7c45ecd12d41c575
parentaf10cce7ad515aa819ee8a4ef6777c28b19ddfb7
PCI/AER: Use "aer" variable for capability offset

Previously we used "pos" or "aer_pos" for the offset of the AER Capability.
Use "aer" consistently and initialize it the same way everywhere.  No
functional change intended.

Link: https://lore.kernel.org/r/20200529230915.GA479883@bjorn-Precision-5520
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
drivers/pci/pcie/aer.c