* [PATCH v2] io_uring: update parameter name in io_pin_pages function declaration
@ 2025-05-09 6:30 leo.lilong
2025-05-09 14:02 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: leo.lilong @ 2025-05-09 6:30 UTC (permalink / raw)
To: axboe, asml.silence; +Cc: leo.lilong, io-uring, yangerkun
From: Long Li <leo.lilong@huawei.com>
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>
---
v2: Remove unnecessary fix tags
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.39.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-05-09 14:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-09 6:30 [PATCH v2] io_uring: update parameter name in io_pin_pages function declaration leo.lilong
2025-05-09 14:02 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox