PCI: fix AER capability check
The 'use pci_find_ext_capability everywhere' cleanup brought a new bug, which makes the AER stop working. Fix it by actually using find_ext_cap instead of just find_cap. Drop the unused config space size define while we're at it. Signed-off-by:Yu Zhao <yu.zhao@intel.com> Signed-off-by:
Jesse Barnes <jbarnes@virtuousgeek.org>
Showing
- Documentation/PCI/pcieaer-howto.txt 3 additions, 8 deletionsDocumentation/PCI/pcieaer-howto.txt
- drivers/pci/pcie/aer/aerdrv_core.c 2 additions, 2 deletionsdrivers/pci/pcie/aer/aerdrv_core.c
- drivers/pci/pcie/portdrv.h 0 additions, 1 deletiondrivers/pci/pcie/portdrv.h
- include/linux/aer.h 0 additions, 1 deletioninclude/linux/aer.h
Loading
Please register or sign in to comment