public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
* [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

* Re: [PATCH v2] io_uring: update parameter name in io_pin_pages function declaration
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2025-05-09 14:02 UTC (permalink / raw)
  To: asml.silence, leo.lilong; +Cc: leo.lilong, io-uring, yangerkun


On Fri, 09 May 2025 14:30:15 +0800, leo.lilong@huaweicloud.com wrote:
> Rename first parameter in io_pin_pages from ubuf to uaddr for consistency
> between declaration and implementation.
> 
> 

Applied, thanks!

[1/1] io_uring: update parameter name in io_pin_pages function declaration
      commit: 6ae4308116f1033ceb11b419c01e9c5f17a35633

Best regards,
-- 
Jens Axboe




^ permalink raw reply	[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