[PATCH rdma-core 5/5] Fix typos found by lintian

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Benjamin Drung <benjamin.drung@xxxxxxxxxxxxxxx>
---
 kernel-headers/rdma/mlx4-abi.h                                | 2 +-
 kernel-headers/rdma/mlx5-abi.h                                | 2 +-
 libibverbs/verbs.h                                            | 2 +-
 .../mlx5/man/mlx5dv_create_flow_action_modify_header.3.md     | 2 +-
 .../mlx5/man/mlx5dv_create_flow_action_packet_reformat.3.md   | 4 ++--
 providers/ocrdma/ocrdma_verbs.c                               | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/kernel-headers/rdma/mlx4-abi.h b/kernel-headers/rdma/mlx4-abi.h
index f7455752..1f6848ef 100644
--- a/kernel-headers/rdma/mlx4-abi.h
+++ b/kernel-headers/rdma/mlx4-abi.h
@@ -143,7 +143,7 @@ enum mlx4_ib_rx_hash_function_flags {
 };
 
 /*
- * RX Hash flags, these flags allows to set which incoming packet's field should
+ * RX Hash flags, these flags allow setting which incoming packet's field should
  * participates in RX Hash. Each flag represent certain packet's field,
  * when the flag is set the field that is represented by the flag will
  * participate in RX Hash calculation.
diff --git a/kernel-headers/rdma/mlx5-abi.h b/kernel-headers/rdma/mlx5-abi.h
index 8fa9f90e..60b5f7fc 100644
--- a/kernel-headers/rdma/mlx5-abi.h
+++ b/kernel-headers/rdma/mlx5-abi.h
@@ -321,7 +321,7 @@ enum mlx5_rx_hash_function_flags {
 };
 
 /*
- * RX Hash flags, these flags allows to set which incoming packet's field should
+ * RX Hash flags, these flags allow setting which incoming packet's field should
  * participates in RX Hash. Each flag represent certain packet's field,
  * when the flag is set the field that is represented by the flag will
  * participate in RX Hash calculation.
diff --git a/libibverbs/verbs.h b/libibverbs/verbs.h
index 93e0430f..62c6922c 100644
--- a/libibverbs/verbs.h
+++ b/libibverbs/verbs.h
@@ -795,7 +795,7 @@ struct ibv_wq_attr {
  * Receive Work Queue Indirection Table.
  * It's used in order to distribute incoming packets between different
  * Receive Work Queues. Associating Receive WQs with different CPU cores
- * allows to workload the traffic between different CPU cores.
+ * allows one to workload the traffic between different CPU cores.
  * The Indirection Table can contain only WQs of type IBV_WQT_RQ.
 */
 struct ibv_rwq_ind_table {
diff --git a/providers/mlx5/man/mlx5dv_create_flow_action_modify_header.3.md b/providers/mlx5/man/mlx5dv_create_flow_action_modify_header.3.md
index ae7437d6..54f1c1c8 100644
--- a/providers/mlx5/man/mlx5dv_create_flow_action_modify_header.3.md
+++ b/providers/mlx5/man/mlx5dv_create_flow_action_modify_header.3.md
@@ -23,7 +23,7 @@ mlx5dv_create_flow_action_modify_header(struct ibv_context *ctx,
 
 # DESCRIPTION
 
-Create a modify header flow steering action, it allows to mutate a packet header.
+Create a modify header flow steering action, it allows mutating a packet header.
 
 # ARGUMENTS
 
diff --git a/providers/mlx5/man/mlx5dv_create_flow_action_packet_reformat.3.md b/providers/mlx5/man/mlx5dv_create_flow_action_packet_reformat.3.md
index 2c97622e..424c3768 100644
--- a/providers/mlx5/man/mlx5dv_create_flow_action_packet_reformat.3.md
+++ b/providers/mlx5/man/mlx5dv_create_flow_action_packet_reformat.3.md
@@ -26,7 +26,7 @@ mlx5dv_create_flow_action_packet_reformat(struct ibv_context *ctx,
 # DESCRIPTION
 
 Create a packet reformat flow steering action.
-It allows to add/remove packet headers.
+It allows adding/removing packet headers.
 
 # ARGUMENTS
 *ctx*
@@ -41,7 +41,7 @@ It allows to add/remove packet headers.
 *reformat_type*
 :       The reformat type to be create. Use enum mlx5dv_flow_action_packet_reformat_type.
 	MLX5DV_FLOW_ACTION_PACKET_REFORMAT_TYPE_L2_TUNNEL_TO_L2: Decap a generic L2
-	tunneled packet upto inner L2.
+	tunneled packet up to inner L2.
 
 	MLX5DV_FLOW_ACTION_PACKET_REFORMAT_TYPE_L2_TO_L2_TUNNEL: Generic encap, *data*
 		should contain the encapsulating headers.
diff --git a/providers/ocrdma/ocrdma_verbs.c b/providers/ocrdma/ocrdma_verbs.c
index 8ce5c0cd..5bd9f5ae 100644
--- a/providers/ocrdma/ocrdma_verbs.c
+++ b/providers/ocrdma/ocrdma_verbs.c
@@ -996,7 +996,7 @@ static void ocrdma_discard_cqes(struct ocrdma_qp *qp, struct ocrdma_cq *cq)
 	 * we don't complete out of order cqe.
 	 */
 	cur_getp = cq->getp;
-	/* find upto when do we reap the cq.*/
+	/* find up to when do we reap the cq.*/
 	stop_getp = cur_getp;
 	do {
 		if (is_hw_sq_empty(qp) && (!qp->srq && is_hw_rq_empty(qp)))
-- 
2.17.1




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux