From: Michał Grzelak Date: Thu, 4 Jun 2026 06:03:08 +0000 (+0800) Subject: iommu/vt-d: Remove typo from pasid_pte_config_nested() X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=214ffed161b48d5a40f654f23d0806b9ec704920;p=thirdparty%2Flinux.git 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(). Signed-off-by: Michał Grzelak Link: https://lore.kernel.org/r/20260509174503.831134-1-michal.grzelak@intel.com Signed-off-by: Lu Baolu Signed-off-by: Joerg Roedel --- diff --git a/drivers/iommu/intel/pasid.c b/drivers/iommu/intel/pasid.c index 40910dc7363b1..81353fd46b37e 100644 --- a/drivers/iommu/intel/pasid.c +++ b/drivers/iommu/intel/pasid.c @@ -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);