public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCH liburing] man: fix IORING_REGISTER_RING_FDS documentation
@ 2024-04-03 18:45 Jeff Moyer
  2024-04-03 19:04 ` Jeff Moyer
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Moyer @ 2024-04-03 18:45 UTC (permalink / raw)
  To: io-uring

The documentation for the 'arg' parameter is incorrect.  Fix it.

Signed-off-by: Jeff Moyer <[email protected]>

diff --git a/man/io_uring_register.2 b/man/io_uring_register.2
index fbfae2a..09823bd 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH liburing] man: fix IORING_REGISTER_RING_FDS documentation
  2024-04-03 18:45 [PATCH liburing] man: fix IORING_REGISTER_RING_FDS documentation Jeff Moyer
@ 2024-04-03 19:04 ` Jeff Moyer
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Moyer @ 2024-04-03 19:04 UTC (permalink / raw)
  To: io-uring

It turns out unregister has the same bug.  I'll send a v2.

-Jeff

Jeff Moyer <[email protected]> writes:

> The documentation for the 'arg' parameter is incorrect.  Fix it.
>
> Signed-off-by: Jeff Moyer <[email protected]>
>
> diff --git a/man/io_uring_register.2 b/man/io_uring_register.2
> index fbfae2a..09823bd 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-03 19:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-03 18:45 [PATCH liburing] man: fix IORING_REGISTER_RING_FDS documentation Jeff Moyer
2024-04-03 19:04 ` Jeff Moyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox