diff options
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/pcie/aer/aerdrv_core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pci/pcie/aer/aerdrv_core.c b/drivers/pci/pcie/aer/aerdrv_core.c index d3f6df40b0d3..4d67db8dd0d0 100644 --- a/drivers/pci/pcie/aer/aerdrv_core.c +++ b/drivers/pci/pcie/aer/aerdrv_core.c | |||
@@ -708,6 +708,9 @@ static int get_device_error_info(struct pci_dev *dev, struct aer_err_info *info) | |||
708 | { | 708 | { |
709 | int pos; | 709 | int pos; |
710 | 710 | ||
711 | info->status = 0; | ||
712 | info->flags &= ~AER_TLP_HEADER_VALID_FLAG; | ||
713 | |||
711 | pos = pci_find_ext_capability(dev, PCI_EXT_CAP_ID_ERR); | 714 | pos = pci_find_ext_capability(dev, PCI_EXT_CAP_ID_ERR); |
712 | 715 | ||
713 | /* The device might not support AER */ | 716 | /* The device might not support AER */ |