]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
iommu/vt-d: Remove typo from pasid_pte_config_nested()
authorMichał Grzelak <michal.grzelak@intel.com>
Thu, 4 Jun 2026 06:03:08 +0000 (14:03 +0800)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 4 Jun 2026 07:21:50 +0000 (09:21 +0200)
Rename pasid_pte_config_nestd() into pasid_pte_config_nested(). Do it to
match other function names ending with _nested().

Signed-off-by: Michał Grzelak <michal.grzelak@intel.com>
Link: https://lore.kernel.org/r/20260509174503.831134-1-michal.grzelak@intel.com
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/intel/pasid.c

index 40910dc7363b133da4be3b29524ad93d4e6bc0aa..81353fd46b37e16e8e4db88634e61a748f18cd59 100644 (file)
@@ -618,11 +618,11 @@ 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,
-                                  struct pasid_entry *pte,
-                                  struct iommu_hwpt_vtd_s1 *s1_cfg,
-                                  struct dmar_domain *s2_domain,
-                                  u16 did)
+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,
+                                   u16 did)
 {
        struct pt_iommu_vtdss_hw_info pt_info;
 
@@ -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);