Re: [PATCH 1/1] iommu/vt-d: Fix compile error with CONFIG_PCI_ATS not set
From: Will Deacon
Date: Thu Nov 19 2020 - 05:37:29 EST
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’?
> 338 | dev_set_msi_domain(&pdev->dev, dev_get_msi_domain(&pdev->physfn->dev));
> | ^~~~~~
> | is_physfn
Applied to arm64 (for-next/iommu/fixes), thanks!
[1/1] iommu/vt-d: Fix compile error with CONFIG_PCI_ATS not set
https://git.kernel.org/arm64/c/3645a34f5b96
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev