]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
io_uring: update parameter name in io_pin_pages function declaration
authorLong Li <leo.lilong@huawei.com>
Fri, 9 May 2025 06:30:15 +0000 (14:30 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 9 May 2025 13:58:22 +0000 (07:58 -0600)
Rename first parameter in io_pin_pages from ubuf to uaddr for consistency
between declaration and implementation.

Signed-off-by: Long Li <leo.lilong@huawei.com>
Link: https://lore.kernel.org/r/20250509063015.3799255-1-leo.lilong@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/memmap.h

index 24afb298e974dd5947c65a4ccefe4412496b2dce..08419684e4bc91ea3ed0ce791f88e2fbb3e047ee 100644 (file)
@@ -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);