From 6ae4308116f1033ceb11b419c01e9c5f17a35633 Mon Sep 17 00:00:00 2001 From: Long Li Date: Fri, 9 May 2025 14:30:15 +0800 Subject: [PATCH] io_uring: update parameter name in io_pin_pages function declaration Rename first parameter in io_pin_pages from ubuf to uaddr for consistency between declaration and implementation. Signed-off-by: Long Li Link: https://lore.kernel.org/r/20250509063015.3799255-1-leo.lilong@huaweicloud.com Signed-off-by: Jens Axboe --- io_uring/memmap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io_uring/memmap.h b/io_uring/memmap.h index 24afb298e974..08419684e4bc 100644 --- a/io_uring/memmap.h +++ b/io_uring/memmap.h @@ -6,7 +6,7 @@ #define IORING_OFF_ZCRX_SHIFT 16 -struct page **io_pin_pages(unsigned long ubuf, unsigned long len, int *npages); +struct page **io_pin_pages(unsigned long uaddr, unsigned long len, int *npages); #ifndef CONFIG_MMU unsigned int io_uring_nommu_mmap_capabilities(struct file *file); -- 2.25.1