Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Kexin Sun and committed by
Juergen Gross
fdfdd01e 7f8862d2

+1 -1
+1 -1
drivers/xen/swiotlb-xen.c
··· 340 340 341 341 /* 342 342 * Unmap a set of streaming mode DMA translations. Again, cpu read rules 343 - * concerning calls here are the same as for swiotlb_unmap_phys() above. 343 + * concerning calls here are the same as for xen_swiotlb_unmap_phys() above. 344 344 */ 345 345 static void 346 346 xen_swiotlb_unmap_sg(struct device *hwdev, struct scatterlist *sgl, int nelems,