Skip to contentSkip to conversation

liquidio: CN23XX: delete repeated words

PATCH In review Ruffalo Lavoisier 2 participants 2 messages Sep 15, 2022 – Sep 16, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 liquidio: CN23XX: delete repeated words

- Delete the repeated word 'to' in the comment

---
 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h | 2 +-
 drivers/net/ethernet/cavium/liquidio/cn23xx_vf_regs.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h +1 -1
index 3f1c189646f4..9a994b5bfff5 100644
@@ -88,7 +88,7 @@
 #define    CN23XX_SLI_PKT_IN_JABBER                0x29170
 /* The input jabber is used to determine the TSO max size.
  * Due to H/W limitation, this need to be reduced to 60000
- * in order to to H/W TSO and avoid the WQE malfarmation
+ * in order to H/W TSO and avoid the WQE malfarmation
  * PKO_BUG_24989_WQE_LEN
  */
 #define    CN23XX_DEFAULT_INPUT_JABBER             0xEA60 /*60000*/
drivers/net/ethernet/cavium/liquidio/cn23xx_vf_regs.h +1 -1
index d33dd8f4226f..19894b7c1ce8 100644
@@ -37,7 +37,7 @@
 
 /* The input jabber is used to determine the TSO max size.
  * Due to H/W limitation, this need to be reduced to 60000
- * in order to to H/W TSO and avoid the WQE malfarmation
+ * in order to H/W TSO and avoid the WQE malfarmation
  * PKO_BUG_24989_WQE_LEN
  */
 #define    CN23XX_DEFAULT_INPUT_JABBER             0xEA60 /*60000*/
Signature · 1 line
2.25.1
#1 lore raw

Hi--

There are several other problems here also.
Preferably fix all of them.

Quoted 13 lines · Ruffalo Lavoisier

- Delete the repeated word 'to' in the comment

---
  drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h | 2 +-
  drivers/net/ethernet/cavium/liquidio/cn23xx_vf_regs.h | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h +0 -0
index 3f1c189646f4..9a994b5bfff5 100644

drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h line 90

Quoted 3 lines
drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h +0 -0
@@ -88,7 +88,7 @@
  #define    CN23XX_SLI_PKT_IN_JABBER                0x29170
  /* The input jabber is used to determine the TSO max size.
   * Due to H/W limitation, this need to be reduced to 60000

this needs

drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h line 91

Quoted 1 line
drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h +0 -1
- * in order to to H/W TSO and avoid the WQE malfarmation > + * in order to H/W TSO and avoid the WQE malfarmation

Now it is missing some word. Something like
in order to use H/W TSO
makes some sense.

Also, s/malfarmation/malformation/

drivers/net/ethernet/cavium/liquidio/cn23xx_vf_regs.h line 40

Quoted 13 lines
drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h +0 -0
   * PKO_BUG_24989_WQE_LEN
   */
  #define    CN23XX_DEFAULT_INPUT_JABBER             0xEA60 /*60000*/
drivers/net/ethernet/cavium/liquidio/cn23xx_vf_regs.h +1 -1
index d33dd8f4226f..19894b7c1ce8 100644
@@ -37,7 +37,7 @@
 
  /* The input jabber is used to determine the TSO max size.
   * Due to H/W limitation, this need to be reduced to 60000
- * in order to to H/W TSO and avoid the WQE malfarmation
+ * in order to H/W TSO and avoid the WQE malfarmation

Same as comments above.

Quoted 3 lines
drivers/net/ethernet/cavium/liquidio/cn23xx_vf_regs.h +0 -0
   * PKO_BUG_24989_WQE_LEN
   */
  #define    CN23XX_DEFAULT_INPUT_JABBER             0xEA60 /*60000*/