[Pkg-ofed-commits] [librdmacm] 02/06: Fix typos and man page warnings

Benjamin Drung bdrung at moszumanska.debian.org
Fri Aug 19 14:44:04 UTC 2016


This is an automated email from the git hooks/post-receive script.

bdrung pushed a commit to branch master
in repository librdmacm.

commit 524cc3415f9965355003be33e2dd1429eea77089
Author: Benjamin Drung <benjamin.drung at profitbricks.com>
Date:   Fri Aug 19 16:22:57 2016 +0200

    Fix typos and man page warnings
---
 debian/patches/0001-Fix-typos.patch            | 130 +++++++++++++++++++++++++
 debian/patches/0002-Fix-man-page-warning.patch |  33 +++++++
 debian/patches/series                          |   2 +
 3 files changed, 165 insertions(+)

diff --git a/debian/patches/0001-Fix-typos.patch b/debian/patches/0001-Fix-typos.patch
new file mode 100644
index 0000000..685c80b
--- /dev/null
+++ b/debian/patches/0001-Fix-typos.patch
@@ -0,0 +1,130 @@
+From ee523ebbf5852b1315c209b4275da423ec097d76 Mon Sep 17 00:00:00 2001
+From: Benjamin Drung <benjamin.drung at profitbricks.com>
+Date: Tue, 9 Aug 2016 13:18:20 +0200
+Subject: [PATCH 1/2] Fix typos
+
+---
+ include/rdma/rdma_cma.h | 2 +-
+ man/mckey.1             | 2 +-
+ man/rdma_cm.7           | 4 ++--
+ man/rdma_migrate_id.3   | 2 +-
+ man/rdma_post_write.3   | 2 +-
+ man/rdma_post_writev.3  | 2 +-
+ man/rdma_reg_msgs.3     | 2 +-
+ man/rdma_set_option.3   | 2 +-
+ 8 files changed, 9 insertions(+), 9 deletions(-)
+
+diff --git a/include/rdma/rdma_cma.h b/include/rdma/rdma_cma.h
+index 4826c03..2055665 100644
+--- a/include/rdma/rdma_cma.h
++++ b/include/rdma/rdma_cma.h
+@@ -278,7 +278,7 @@ int rdma_create_ep(struct rdma_cm_id **id, struct rdma_addrinfo *res,
+ 
+ /**
+  * rdma_destroy_ep - Deallocates a communication identifier and qp.
+- * @id: The communication identifer to destroy.
++ * @id: The communication identifier to destroy.
+  * Description:
+  *   Destroys the specified rdma_cm_id and any associated QP created
+  *   on that id.
+diff --git a/man/mckey.1 b/man/mckey.1
+index 4418819..86a51a3 100644
+--- a/man/mckey.1
++++ b/man/mckey.1
+@@ -47,7 +47,7 @@ UDP (0x0111) or IPoIB (0x0002) port space.  (default RDMA_PS_UDP)
+ Basic usage is to start mckey -m multicast_address on a server system,
+ then run mckey -m multicast_address -s on a client system.
+ .P
+-Unique Infiniband SA assigned multicast GIDs can be retrived by
++Unique Infiniband SA assigned multicast GIDs can be retrieved by
+ invoking mckey with a zero MGID or IP address.  (Example, -M 0 or
+ -m 0.0.0.0).  The assigned address will be displayed to allow
+ mckey clients to join the created group. 
+diff --git a/man/rdma_cm.7 b/man/rdma_cm.7
+index ee8427a..451035b 100644
+--- a/man/rdma_cm.7
++++ b/man/rdma_cm.7
+@@ -67,7 +67,7 @@ low level call details shown.  For
+ synchronous operation, calls to rdma_create_event_channel, rdma_get_cm_event,
+ rdma_ack_cm_event, and rdma_destroy_event_channel
+ would be eliminated.  Abstracted calls, such as rdma_create_ep encapsulate
+-serveral of these calls under a single API.
++several of these calls under a single API.
+ Users may also refer to the example applications for
+ code samples.  A general connection flow would be:
+ .IP rdma_getaddrinfo
+@@ -171,7 +171,7 @@ regarding the reason for the failure.
+ .P
+ Prior versions of the library would return -errno and not set errno for some cases
+ related to ENOMEM, ENODEV, ENODATA, EINVAL, and EADDRNOTAVAIL codes. Applications
+-that want to check these codes and have compatability with prior library versions
++that want to check these codes and have compatibility with prior library versions
+ must manually set errno to the negative of the return code if it is < -1.
+ .SH "SEE ALSO"
+ rdma_accept(3),
+diff --git a/man/rdma_migrate_id.3 b/man/rdma_migrate_id.3
+index 8683c93..8c2d7dd 100644
+--- a/man/rdma_migrate_id.3
++++ b/man/rdma_migrate_id.3
+@@ -1,6 +1,6 @@
+ .TH "RDMA_MIGRATE_ID" 3 "2007-11-13" "librdmacm" "Librdmacm Programmer's Manual" librdmacm
+ .SH NAME
+-rdma_migrate_id \- Move a communication identifer to a different event channel.
++rdma_migrate_id \- Move a communication identifier to a different event channel.
+ .SH SYNOPSIS
+ .B "#include <rdma/rdma_cma.h>"
+ .P
+diff --git a/man/rdma_post_write.3 b/man/rdma_post_write.3
+index 896996c..5ab4fdb 100644
+--- a/man/rdma_post_write.3
++++ b/man/rdma_post_write.3
+@@ -34,7 +34,7 @@ The registered memory key associated with the remote address.
+ .SH "DESCRIPTION"
+ Posts a work request to the send queue of the queue pair associated
+ with the rdma_cm_id.  The contents of the local data buffer will be
+-writen into the remote memory region.
++written into the remote memory region.
+ .SH "RETURN VALUE"
+ Returns 0 on success, or -1 on error.  If an error occurs, errno will be
+ set to indicate the failure reason.
+diff --git a/man/rdma_post_writev.3 b/man/rdma_post_writev.3
+index f5b23fd..1fc7b0a 100644
+--- a/man/rdma_post_writev.3
++++ b/man/rdma_post_writev.3
+@@ -31,7 +31,7 @@ The registered memory key associated with the remote address.
+ .SH "DESCRIPTION"
+ Posts a work request to the send queue of the queue pair associated
+ with the rdma_cm_id.  The contents of the local data buffers will be
+-writen into the remote memory region.
++written into the remote memory region.
+ .SH "RETURN VALUE"
+ Returns 0 on success, or -1 on error.  If an error occurs, errno will be
+ set to indicate the failure reason.
+diff --git a/man/rdma_reg_msgs.3 b/man/rdma_reg_msgs.3
+index c2c9359..4f56563 100644
+--- a/man/rdma_reg_msgs.3
++++ b/man/rdma_reg_msgs.3
+@@ -21,7 +21,7 @@ Registers an array of memory buffers used for sending and receiving
+ messages or for RDMA operations.  Memory buffers registered using
+ rdma_reg_msgs may be posted to an rdma_cm_id using
+ rdma_post_send or rdma_post_recv, or specified as the target of an RDMA
+-read operation or the source of an RDMA write reqeust.
++read operation or the source of an RDMA write request.
+ .SH "RETURN VALUE"
+ Returns a reference to the registered memory region on success, or NULL on
+ error.  If an error occurs, errno will be set to indicate the failure reason.
+diff --git a/man/rdma_set_option.3 b/man/rdma_set_option.3
+index 8e344ab..74bf5ce 100644
+--- a/man/rdma_set_option.3
++++ b/man/rdma_set_option.3
+@@ -28,6 +28,6 @@ the default system settings.
+ Returns 0 on success, or -1 on error.  If an error occurs, errno will be
+ set to indicate the failure reason.
+ .SH "NOTES"
+-Option details may be found in the relevent header files.
++Option details may be found in the relevant header files.
+ .SH "SEE ALSO"
+ rdma_create_id(3)
+-- 
+2.7.4
+
diff --git a/debian/patches/0002-Fix-man-page-warning.patch b/debian/patches/0002-Fix-man-page-warning.patch
new file mode 100644
index 0000000..5c6769a
--- /dev/null
+++ b/debian/patches/0002-Fix-man-page-warning.patch
@@ -0,0 +1,33 @@
+From f1112e42ce72bb86fe9a17fe80522ad036039eb8 Mon Sep 17 00:00:00 2001
+From: Benjamin Drung <benjamin.drung at profitbricks.com>
+Date: Tue, 9 Aug 2016 13:23:54 +0200
+Subject: [PATCH 2/2] Fix man page warning
+
+---
+ man/rcopy.1 | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/man/rcopy.1 b/man/rcopy.1
+index a5ad76a..9c8264c 100644
+--- a/man/rcopy.1
++++ b/man/rcopy.1
+@@ -12,13 +12,13 @@ Uses sockets over RDMA interface to copy a source file to the
+ specified destination. 
+ .SH "OPTIONS"
+ .TP
+-\source
++source
+ The name and path of the source file to copy.
+ .TP
+-\server
++server
+ The name or address of the destination server.
+ .TP
+-\:destination
++destination
+ An optional destination filename and path.  If not given, the destination
+ filename will match that of the source.
+ .TP
+-- 
+2.7.4
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..51f472e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0001-Fix-typos.patch
+0002-Fix-man-page-warning.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/librdmacm.git



More information about the Pkg-ofed-commits mailing list