Re: [PATCH 1/1] iommu/vt-d: Fix compile error with CONFIG_PCI_ATS not set

2020-11-19 Thread Will Deacon
On Thu, 19 Nov 2020 13:51:19 +0800, Lu Baolu wrote: > Fix the compile error below (CONFIG_PCI_ATS not set): > > drivers/iommu/intel/dmar.c: In function ‘vf_inherit_msi_domain’: > drivers/iommu/intel/dmar.c:338:59: error: ‘struct pci_dev’ has no member > named ‘physfn’; did you mean ‘is_physfn’? >

[PATCH 1/1] iommu/vt-d: Fix compile error with CONFIG_PCI_ATS not set

2020-11-18 Thread Lu Baolu
Fix the compile error below (CONFIG_PCI_ATS not set): drivers/iommu/intel/dmar.c: In function ‘vf_inherit_msi_domain’: drivers/iommu/intel/dmar.c:338:59: error: ‘struct pci_dev’ has no member named ‘physfn’; did you mean ‘is_physfn’? 338 | dev_set_msi_domain(&pdev->dev, dev_get_msi_domain(&pde