Skip to contentSkip to conversation

common/cnxk: fix a few typos

PATCH Applied Tomasz Duszynski 2 participants 2 messages Nov 2, 2021 – Nov 3, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 common/cnxk: fix a few typos

Fix typos here and there.

---
 drivers/common/cnxk/roc_api.h     | 2 +-
 drivers/common/cnxk/roc_nix_irq.c | 2 +-
 drivers/common/cnxk/roc_se.c      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/common/cnxk/roc_api.h +1 -1
index b8f3667c6c..63c7df7b6c 100644
@@ -12,7 +12,7 @@
 /* Bits manipulation */
 #include "roc_bits.h"
 
-/* Bitfields manipulation */
+/* Bit fields manipulation */
 #include "roc_bitfield.h"
 
 /* ROC Constants */
drivers/common/cnxk/roc_nix_irq.c +1 -1
index e9aa620abd..a5cd9d4b02 100644
@@ -421,7 +421,7 @@ roc_nix_register_cq_irqs(struct roc_nix *roc_nix)
 				rc);
 			return rc;
 		}
-		/* VFIO vector zero is resereved for misc interrupt so
+		/* VFIO vector zero is reserved for misc interrupt so
 		 * doing required adjustment. (b13bfab4cd)
 		 */
 		if (plt_intr_vec_list_index_set(handle, q,
drivers/common/cnxk/roc_se.c +1 -1
index 4edbc8e547..6a28609b7c 100644
@@ -357,7 +357,7 @@ roc_se_ciph_key_set(struct roc_se_ctx *se_ctx, roc_se_cipher_type type,
 	if (se_ctx->fc_type == ROC_SE_FC_GEN) {
 		/*
 		 * We need to always say IV is from DPTR as user can
-		 * sometimes iverride IV per operation.
+		 * sometimes override IV per operation.
 		 */
 		fctx->enc.iv_source = ROC_SE_FROM_DPTR;
 
Signature · 1 line
2.25.1
Acked-by Acked-by on v1 1/1 Applied
#1 lore raw
Quoted 5 lines · Tomasz Duszynski

Fix typos here and there.

Changed to

common/cnxk: fix a few typos

Fix a few typos.

Fixes fa8f86a14e2e ("common/cnxk: add build infrastructre and HW

definition")

Fixes f6d567b03d28 ("common/cnxk: support NIX IRQ")
Fixes 5e076b609f2a ("common/cnxk: add SE set key for crypto")

Applied to dpdk-next-net-mrvl/for-next-net. Thanks

Quoted 48 lines
---
 drivers/common/cnxk/roc_api.h     | 2 +-
 drivers/common/cnxk/roc_nix_irq.c | 2 +-
 drivers/common/cnxk/roc_se.c      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/common/cnxk/roc_api.h +1 -1
index b8f3667c6c..63c7df7b6c 100644
@@ -12,7 +12,7 @@
 /* Bits manipulation */
 #include "roc_bits.h"
 
-/* Bitfields manipulation */
+/* Bit fields manipulation */
 #include "roc_bitfield.h"
 
 /* ROC Constants */
drivers/common/cnxk/roc_nix_irq.c +1 -1
index e9aa620abd..a5cd9d4b02 100644
@@ -421,7 +421,7 @@ roc_nix_register_cq_irqs(struct roc_nix *roc_nix)
                                rc);
                        return rc;
                }
-               /* VFIO vector zero is resereved for misc interrupt so
+               /* VFIO vector zero is reserved for misc interrupt so
                 * doing required adjustment. (b13bfab4cd)
                 */
                if (plt_intr_vec_list_index_set(handle, q,
drivers/common/cnxk/roc_se.c +1 -2
index 4edbc8e547..6a28609b7c 100644
@@ -357,7 +357,7 @@ roc_se_ciph_key_set(struct roc_se_ctx *se_ctx, roc_se_cipher_type type,
        if (se_ctx->fc_type == ROC_SE_FC_GEN) {
                /*
                 * We need to always say IV is from DPTR as user can
-                * sometimes iverride IV per operation.
+                * sometimes override IV per operation.
                 */
                fctx->enc.iv_source = ROC_SE_FROM_DPTR;
 
--

2.25.1