From: Kexin Sun Date: Sat, 21 Mar 2026 10:57:59 +0000 (+0800) Subject: iommufd: update outdated comment for renamed iommufd_hw_pagetable_alloc() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67cb50aee082842077a8404337dc21b7d03829d7;p=thirdparty%2Fkernel%2Flinux.git iommufd: update outdated comment for renamed iommufd_hw_pagetable_alloc() The function iommufd_hw_pagetable_alloc() was renamed to iommufd_hwpt_paging_alloc() by commit 89db31635c87 ("iommufd: Derive iommufd_hwpt_paging from iommufd_hw_pagetable"). Update the stale reference in iommufd_device_auto_get_domain(). Link: https://patch.msgid.link/r/20260321105759.6832-1-kexinsun@smail.nju.edu.cn Assisted-by: unnamed:deepseek-v3.2 coccinelle Signed-off-by: Kexin Sun Signed-off-by: Jason Gunthorpe --- diff --git a/drivers/iommu/iommufd/device.c b/drivers/iommu/iommufd/device.c index 344d620cdecc..2ae06372d63c 100644 --- a/drivers/iommu/iommufd/device.c +++ b/drivers/iommu/iommufd/device.c @@ -866,7 +866,7 @@ iommufd_device_auto_get_domain(struct iommufd_device *idev, ioasid_t pasid, { /* * iommufd_hw_pagetable_attach() is called by - * iommufd_hw_pagetable_alloc() in immediate attachment mode, same as + * iommufd_hwpt_paging_alloc() in immediate attachment mode, same as * iommufd_device_do_attach(). So if we are in this mode then we prefer * to use the immediate_attach path as it supports drivers that can't * directly allocate a domain.