summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLong Li <leo.lilong@huawei.com>2025-05-09 14:30:15 +0800
committerJens Axboe <axboe@kernel.dk>2025-05-09 07:58:22 -0600
commit6ae4308116f1033ceb11b419c01e9c5f17a35633 (patch)
tree929998470c3eb48369ec877ec1ea1ef8b0ac0a0d
parent35adea1d018ab1e450ea2304e58dc2f987a639d3 (diff)
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 <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>
-rw-r--r--io_uring/memmap.h2
1 files changed, 1 insertions, 1 deletions
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);