From: Jeff Moyer <[email protected]>
To: [email protected]
Subject: [patch liburing v2] man: fix IORING_REGISTER_RING_FDS docs
Date: Fri, 03 May 2024 17:05:49 -0400 [thread overview]
Message-ID: <[email protected]> (raw)
The documentation for the 'arg' parameter is incorrect. Fix it.
Signed-off-by: Jeff Moyer <[email protected]>
---
v2: fix up IORING_UNREGISTER_RING_FDS as well
diff --git a/man/io_uring_register.2 b/man/io_uring_register.2
index fbfae2a..4590588 100644
--- a/man/io_uring_register.2
+++ b/man/io_uring_register.2
@@ -528,8 +528,8 @@ of the ring file descriptor itself. This reduces the overhead of the
system call.
.I arg
-must be set to an unsigned int pointer to an array of type
-.I struct io_uring_rsrc_register
+must be set to a pointer to an array of type
+.I struct io_uring_rsrc_update
of
.I nr_args
number of entries. The
@@ -570,8 +570,8 @@ Unregister descriptors previously registered with
.B IORING_REGISTER_RING_FDS.
.I arg
-must be set to an unsigned int pointer to an array of type
-.I struct io_uring_rsrc_register
+must be set to a pointer to an array of type
+.I struct io_uring_rsrc_update
of
.I nr_args
number of entries. Only the
next reply other threads:[~2024-05-03 21:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-03 21:05 Jeff Moyer [this message]
2024-05-03 22:17 ` [patch liburing v2] man: fix IORING_REGISTER_RING_FDS docs 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 \
[email protected] \
[email protected] \
[email protected] \
/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