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.

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>

authored by

Long Li and committed by
Jens Axboe
6ae43081 35adea1d

+1 -1
+1 -1
io_uring/memmap.h
··· 6 6 7 7 #define IORING_OFF_ZCRX_SHIFT 16 8 8 9 - struct page **io_pin_pages(unsigned long ubuf, unsigned long len, int *npages); 9 + struct page **io_pin_pages(unsigned long uaddr, unsigned long len, int *npages); 10 10 11 11 #ifndef CONFIG_MMU 12 12 unsigned int io_uring_nommu_mmap_capabilities(struct file *file);