提交 2187a57e 编写于 作者: L Lu Baolu 提交者: Joerg Roedel
上级 782861df
...@@ -827,7 +827,7 @@ struct intel_iommu *device_to_iommu(struct device *dev, u8 *bus, u8 *devfn) ...@@ -827,7 +827,7 @@ struct intel_iommu *device_to_iommu(struct device *dev, u8 *bus, u8 *devfn)
} }
if (pdev && drhd->include_all) { if (pdev && drhd->include_all) {
got_pdev: got_pdev:
if (bus && devfn) { if (bus && devfn) {
*bus = pdev->bus->number; *bus = pdev->bus->number;
*devfn = pdev->devfn; *devfn = pdev->devfn;
...@@ -836,7 +836,7 @@ struct intel_iommu *device_to_iommu(struct device *dev, u8 *bus, u8 *devfn) ...@@ -836,7 +836,7 @@ struct intel_iommu *device_to_iommu(struct device *dev, u8 *bus, u8 *devfn)
} }
} }
iommu = NULL; iommu = NULL;
out: out:
if (iommu_is_dummy(iommu, dev)) if (iommu_is_dummy(iommu, dev))
iommu = NULL; iommu = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册