Skip to contentSkip to conversation

iommu/vt-d: remove typo from pasid_pte_config_nested()

PATCH Applied Michał Grzelak 2 participants 2 messages May 9 – Jun 1

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iommu/vt-d: remove typo from pasid_pte_config_nested()

Rename pasid_pte_config_nestd() into pasid_pte_config_nested(). Do it to match other function names ending with _nested().

---
 drivers/iommu/intel/pasid.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/iommu/intel/pasid.c +2 -2
index 89541b74ab8c..3b39a9ea338c 100644
@@ -618,7 +618,7 @@ void intel_pasid_setup_page_snoop_control(struct intel_iommu *iommu,
 	intel_pasid_flush_present(iommu, dev, pasid, did, pte);
 }
 
-static void pasid_pte_config_nestd(struct intel_iommu *iommu,
+static void pasid_pte_config_nested(struct intel_iommu *iommu,
 				   struct pasid_entry *pte,
 				   struct iommu_hwpt_vtd_s1 *s1_cfg,
 				   struct dmar_domain *s2_domain,
@@ -720,7 +720,7 @@ int intel_pasid_setup_nested(struct intel_iommu *iommu, struct device *dev,
 		return -EBUSY;
 	}
 
-	pasid_pte_config_nestd(iommu, pte, s1_cfg, s2_domain, did);
+	pasid_pte_config_nested(iommu, pte, s1_cfg, s2_domain, did);
 	spin_unlock(&iommu->lock);
 
 	pasid_flush_caches(iommu, pte, pasid, did);
Signature · 1 line
2.45.2
maintainer Applied
#1 lore raw
Quoted 7 lines · Michał Grzelak

Rename pasid_pte_config_nestd() into pasid_pte_config_nested(). Do it to match other function names ending with _nested().

---
  drivers/iommu/intel/pasid.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

Queued for linux-next. Thank you!