netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] liquidio: CN23XX: delete repeated words
@ 2022-09-15  8:46 Ruffalo Lavoisier
  2022-09-16  4:17 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Ruffalo Lavoisier @ 2022-09-15  8:46 UTC (permalink / raw)
  To: Derek Chickles, Satanand Burla, Felix Manlunas, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: Ruffalo Lavoisier, netdev, linux-kernel

- Delete the repeated word 'to' in the comment

Signed-off-by: Ruffalo Lavoisier <RuffaloLavoisier@gmail.com>
---
 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(-)

diff --git a/drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h b/drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h
index 3f1c189646f4..9a994b5bfff5 100644
--- a/drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h
+++ b/drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h
@@ -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*/
diff --git a/drivers/net/ethernet/cavium/liquidio/cn23xx_vf_regs.h b/drivers/net/ethernet/cavium/liquidio/cn23xx_vf_regs.h
index d33dd8f4226f..19894b7c1ce8 100644
--- a/drivers/net/ethernet/cavium/liquidio/cn23xx_vf_regs.h
+++ b/drivers/net/ethernet/cavium/liquidio/cn23xx_vf_regs.h
@@ -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*/
-- 
2.25.1


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

* Re: [PATCH] liquidio: CN23XX: delete repeated words
  2022-09-15  8:46 [PATCH] liquidio: CN23XX: delete repeated words Ruffalo Lavoisier
@ 2022-09-16  4:17 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2022-09-16  4:17 UTC (permalink / raw)
  To: Ruffalo Lavoisier, Derek Chickles, Satanand Burla,
	Felix Manlunas, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni
  Cc: netdev, linux-kernel

Hi--

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

On 9/15/22 01:46, Ruffalo Lavoisier wrote:
> - Delete the repeated word 'to' in the comment
> 
> Signed-off-by: Ruffalo Lavoisier <RuffaloLavoisier@gmail.com>
> ---
>   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(-)
> 
> diff --git a/drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h b/drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h
> index 3f1c189646f4..9a994b5bfff5 100644
> --- a/drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h
> +++ b/drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h
> @@ -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

> - * 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/

>    * PKO_BUG_24989_WQE_LEN
>    */
>   #define    CN23XX_DEFAULT_INPUT_JABBER             0xEA60 /*60000*/
> diff --git a/drivers/net/ethernet/cavium/liquidio/cn23xx_vf_regs.h b/drivers/net/ethernet/cavium/liquidio/cn23xx_vf_regs.h
> index d33dd8f4226f..19894b7c1ce8 100644
> --- a/drivers/net/ethernet/cavium/liquidio/cn23xx_vf_regs.h
> +++ b/drivers/net/ethernet/cavium/liquidio/cn23xx_vf_regs.h
> @@ -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.

>    * PKO_BUG_24989_WQE_LEN
>    */
>   #define    CN23XX_DEFAULT_INPUT_JABBER             0xEA60 /*60000*/

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

end of thread, other threads:[~2022-09-16  4:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-15  8:46 [PATCH] liquidio: CN23XX: delete repeated words Ruffalo Lavoisier
2022-09-16  4:17 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).