* [PATCH] iommufd: update outdated comment for renamed iommufd_hw_pagetable_alloc()
@ 2026-03-21 10:57 Kexin Sun
2026-03-25 12:35 ` Jason Gunthorpe
0 siblings, 1 reply; 2+ messages in thread
From: Kexin Sun @ 2026-03-21 10:57 UTC (permalink / raw)
To: jgg, kevin.tian, joro, will, robin.murphy, iommu, linux-kernel
Cc: julia.lawall, xutong.ma, kexinsun, yunbolyu, ratnadiraw
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().
Assisted-by: unnamed:deepseek-v3.2 coccinelle
Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
---
drivers/iommu/iommufd/device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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.
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iommufd: update outdated comment for renamed iommufd_hw_pagetable_alloc()
2026-03-21 10:57 [PATCH] iommufd: update outdated comment for renamed iommufd_hw_pagetable_alloc() Kexin Sun
@ 2026-03-25 12:35 ` Jason Gunthorpe
0 siblings, 0 replies; 2+ messages in thread
From: Jason Gunthorpe @ 2026-03-25 12:35 UTC (permalink / raw)
To: Kexin Sun
Cc: kevin.tian, joro, will, robin.murphy, iommu, linux-kernel,
julia.lawall, xutong.ma, yunbolyu, ratnadiraw
On Sat, Mar 21, 2026 at 06:57:59PM +0800, Kexin Sun wrote:
> 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().
>
> Assisted-by: unnamed:deepseek-v3.2 coccinelle
> Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
> ---
> drivers/iommu/iommufd/device.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
Jason
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-25 12:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-21 10:57 [PATCH] iommufd: update outdated comment for renamed iommufd_hw_pagetable_alloc() Kexin Sun
2026-03-25 12:35 ` Jason Gunthorpe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox