diff mbox series

[liburing,v2] man: fix IORING_REGISTER_RING_FDS docs

Message ID x49bk5mehci.fsf@segfault.usersys.redhat.com (mailing list archive)
State New
Headers show
Series [liburing,v2] man: fix IORING_REGISTER_RING_FDS docs | expand

Commit Message

Jeff Moyer May 3, 2024, 9:05 p.m. UTC
The documentation for the 'arg' parameter is incorrect.  Fix it.

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
---
v2: fix up IORING_UNREGISTER_RING_FDS as well

Comments

Jens Axboe May 3, 2024, 10:17 p.m. UTC | #1
On Fri, 03 May 2024 17:05:49 -0400, Jeff Moyer wrote:
> The documentation for the 'arg' parameter is incorrect.  Fix it.
> 
> 

Applied, thanks!

[1/1] man: fix IORING_REGISTER_RING_FDS docs
      commit: eb267a661a1636e69969d210654d90513fe81c2f

Best regards,
diff mbox series

Patch

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