Hi Sinan, I love your patch! Yet something to improve: [auto build test ERROR on pci/next] [also build test ERROR on next-20180817] [cannot apply to v4.18] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Sinan-Kaya/PCI-pciehp-Ignore-link-events-when-there-is-a-fatal-error-pending/20180820-074636 base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next config: i386-randconfig-x075-201833 (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): drivers/pci/hotplug/pciehp_core.c: In function 'pciehp_control_surprise_error': >> drivers/pci/hotplug/pciehp_core.c:241:14: error: 'struct pci_dev' has no member named 'aer_cap'; did you mean 'ats_cap'? pos = pdev->aer_cap; ^~~~~~~ ats_cap vim +241 drivers/pci/hotplug/pciehp_core.c 231 232 static int pciehp_control_surprise_error(struct controller *ctrl, bool enable) 233 { 234 struct pci_dev *pdev = ctrl->pcie->port; 235 u32 reg32; 236 int pos; 237 238 if (!pci_is_pcie(pdev)) 239 return -ENODEV; 240 > 241 pos = pdev->aer_cap; 242 if (!pos) 243 return -ENODEV; 244 245 pci_read_config_dword(pdev, pos + PCI_ERR_UNCOR_MASK, ®32); 246 if (enable) 247 reg32 &= ~PCI_ERR_UNC_SURPDN; 248 else 249 reg32 |= PCI_ERR_UNC_SURPDN; 250 pci_write_config_dword(pdev, pos + PCI_ERR_UNCOR_MASK, reg32); 251 252 return 0; 253 } 254 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation