From: leo.lilong@huaweicloud.com
To: axboe@kernel.dk, asml.silence@gmail.com
Cc: leo.lilong@huawei.com, io-uring@vger.kernel.org, yangerkun@huawei.com
Subject: [PATCH v2] io_uring: update parameter name in io_pin_pages function declaration
Date: Fri, 9 May 2025 14:30:15 +0800 [thread overview]
Message-ID: <20250509063015.3799255-1-leo.lilong@huaweicloud.com> (raw)
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
next reply other threads:[~2025-05-09 6:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-09 6:30 leo.lilong [this message]
2025-05-09 14:02 ` [PATCH v2] io_uring: update parameter name in io_pin_pages function declaration Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250509063015.3799255-1-leo.lilong@huaweicloud.com \
--to=leo.lilong@huaweicloud.com \
--cc=asml.silence@gmail.com \
--cc=axboe@kernel.dk \
--cc=io-uring@vger.kernel.org \
--cc=leo.lilong@huawei.com \
--cc=yangerkun@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox