2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00

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>
This commit is contained in:
Long Li 2025-05-09 14:30:15 +08:00 committed by Jens Axboe
parent 35adea1d01
commit 6ae4308116

View 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);