All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH rdma-core] librdmacm: Fix incorrect return value/type in a few man pages
@ 2017-06-30 22:30 David Reynolds
       [not found] ` <20170630223026.57939-1-david-gqc3UtWaqJ5Wk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: David Reynolds @ 2017-06-30 22:30 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA; +Cc: David Reynolds

Signed-off-by: David Reynolds <david-gqc3UtWaqJ5Wk0Htik3J/w@public.gmane.org>
---
 librdmacm/man/rdma_dereg_mr.3              | 2 +-
 librdmacm/man/rdma_destroy_event_channel.3 | 3 +--
 librdmacm/man/rdma_destroy_srq.3           | 3 +--
 3 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/librdmacm/man/rdma_dereg_mr.3 b/librdmacm/man/rdma_dereg_mr.3
index 1fe936b2..893eb14b 100644
--- a/librdmacm/man/rdma_dereg_mr.3
+++ b/librdmacm/man/rdma_dereg_mr.3
@@ -5,7 +5,7 @@ rdma_dereg_mr \- deregisters a registered memory region.
 .SH SYNOPSIS
 .B "#include <rdma/rdma_verbs.h>"
 .P
-.B "struct ibv_mr *" rdma_dereg_mr
+.B "int" rdma_dereg_mr
 .BI "(struct ibv_mr *" mr ");"
 .SH ARGUMENTS
 .IP "mr" 12
diff --git a/librdmacm/man/rdma_destroy_event_channel.3 b/librdmacm/man/rdma_destroy_event_channel.3
index 5bc982a7..5c5d663c 100644
--- a/librdmacm/man/rdma_destroy_event_channel.3
+++ b/librdmacm/man/rdma_destroy_event_channel.3
@@ -14,8 +14,7 @@ The communication channel to destroy.
 Release all resources associated with an event channel and closes the
 associated file descriptor.
 .SH "RETURN VALUE"
-Returns 0 on success, or -1 on error.  If an error occurs, errno will be
-set to indicate the failure reason.
+None
 .SH "NOTES"
 All rdma_cm_id's associated with the event channel must be destroyed,
 and all returned events must be acked before calling this function.
diff --git a/librdmacm/man/rdma_destroy_srq.3 b/librdmacm/man/rdma_destroy_srq.3
index 5c633a8d..75c23c73 100644
--- a/librdmacm/man/rdma_destroy_srq.3
+++ b/librdmacm/man/rdma_destroy_srq.3
@@ -13,8 +13,7 @@ RDMA identifier.
 .SH "DESCRIPTION"
 Destroy an SRQ allocated on the rdma_cm_id.
 .SH "RETURN VALUE"
-Returns 0 on success, or -1 on error.  If an error occurs, errno will be
-set to indicate the failure reason.
+None
 .SH "NOTES"
 Users should destroy any SRQ associated with an rdma_cm_id before
 destroying the ID.
-- 
2.11.0 (Apple Git-81)

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH rdma-core] librdmacm: Fix incorrect return value/type in a few man pages
       [not found] ` <20170630223026.57939-1-david-gqc3UtWaqJ5Wk0Htik3J/w@public.gmane.org>
@ 2017-07-11  8:39   ` Leon Romanovsky
  0 siblings, 0 replies; 2+ messages in thread
From: Leon Romanovsky @ 2017-07-11  8:39 UTC (permalink / raw)
  To: David Reynolds; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 383 bytes --]

On Fri, Jun 30, 2017 at 06:30:26PM -0400, David Reynolds wrote:
> Signed-off-by: David Reynolds <david-gqc3UtWaqJ5Wk0Htik3J/w@public.gmane.org>
> ---
>  librdmacm/man/rdma_dereg_mr.3              | 2 +-
>  librdmacm/man/rdma_destroy_event_channel.3 | 3 +--
>  librdmacm/man/rdma_destroy_srq.3           | 3 +--
>  3 files changed, 3 insertions(+), 5 deletions(-)
>

Thanks, applied.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2017-07-11  8:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-30 22:30 [PATCH rdma-core] librdmacm: Fix incorrect return value/type in a few man pages David Reynolds
     [not found] ` <20170630223026.57939-1-david-gqc3UtWaqJ5Wk0Htik3J/w@public.gmane.org>
2017-07-11  8:39   ` Leon Romanovsky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.