]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xen/swiotlb: fix stale reference to swiotlb_unmap_page()
authorKexin Sun <kexinsun@smail.nju.edu.cn>
Sat, 21 Mar 2026 11:00:39 +0000 (19:00 +0800)
committerJuergen Gross <jgross@suse.com>
Fri, 10 Apr 2026 09:05:06 +0000 (11:05 +0200)
commitfdfdd01e801f4e808cba27b3e78504cfeca610d9
tree614a229ee15100df4ff0ee0e754c2d71da1a516a
parent7f8862d2873d8b0e0df805a9aef1972d8ad4f08e
xen/swiotlb: fix stale reference to swiotlb_unmap_page()

Commit af85de5a9f00 ("xen: swiotlb: Switch to physical
address mapping callbacks") renamed xen_swiotlb_unmap_page()
to xen_swiotlb_unmap_phys().  The comment in
xen_swiotlb_unmap_sg() had already been missing the xen_
prefix (reading swiotlb_unmap_page()), and the rename only
changed _page to _phys without correcting this, leaving it
as swiotlb_unmap_phys().  Fix the reference to use the
correct function name xen_swiotlb_unmap_phys().

Assisted-by: unnamed:deepseek-v3.2 coccinelle
Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
Signed-off-by: Juergen Gross <jgross@suse.com>
Message-ID: <20260321110039.8905-1-kexinsun@smail.nju.edu.cn>
drivers/xen/swiotlb-xen.c