diff mbox series

[v4] liquidio: CN23XX: delete repeated words, add missing words and fix typo in comment

Message ID 20220919014813.32709-1-RuffaloLavoisier@gmail.com (mailing list archive)
State Superseded
Delegated to: Netdev Maintainers
Headers show
Series [v4] liquidio: CN23XX: delete repeated words, add missing words and fix typo in comment | expand

Checks

Context Check Description
netdev/tree_selection success Guessed tree name to be net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/subject_prefix warning Target tree name not specified in the subject
netdev/cover_letter success Single patches do not need cover letters
netdev/patch_count success Link
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/cc_maintainers success CCed 8 of 8 maintainers
netdev/build_clang success Errors and warnings before: 2 this patch: 2
netdev/module_param success Was 0 now: 0
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 75 this patch: 75
netdev/checkpatch warning CHECK: From:/Signed-off-by: email comments mismatch: 'From: Ruffalo Lavoisier <ruffalolavoisier@gmail.com>' != 'Signed-off-by: Ruffalo Lavoisier <RuffaloLavoisier@gmail.com>'
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Ruffalo Lavoisier Sept. 19, 2022, 1:48 a.m. UTC
- Delete the repeated word 'to' in the comment.

- Add the missing 'use' word within the sentence.

- Correct spelling on 'malformation'.

Signed-off-by: Ruffalo Lavoisier <RuffaloLavoisier@gmail.com>
---
I'm sorry, can you explain exactly which part and how to fix it? I didn't quite understand. <this need> How can I fix this part?

 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(-)

Comments

Randy Dunlap Sept. 19, 2022, 5:07 a.m. UTC | #1
Hi,

On 9/18/22 18:48, Ruffalo Lavoisier wrote:
> - Delete the repeated word 'to' in the comment.
> 
> - Add the missing 'use' word within the sentence.
> 
> - Correct spelling on 'malformation'.
> 
> Signed-off-by: Ruffalo Lavoisier <RuffaloLavoisier@gmail.com>
> ---
> I'm sorry, can you explain exactly which part and how to fix it? I didn't quite understand. <this need> How can I fix this part?

All that you need to do is edit the 2 lines that contain "this need" to be "this needs".

> 
>  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..244e27ea079c 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

    * Due to H/W limitation, this needs to be reduced to 60000

> - * in order to to H/W TSO and avoid the WQE malfarmation
> + * in order to use H/W TSO and avoid the WQE 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..e85449249670 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

    * Due to H/W limitation, this needs to be reduced to 60000

> - * in order to to H/W TSO and avoid the WQE malfarmation
> + * in order to use H/W TSO and avoid the WQE malformation
>   * PKO_BUG_24989_WQE_LEN
>   */
>  #define    CN23XX_DEFAULT_INPUT_JABBER             0xEA60 /*60000*/
diff mbox series

Patch

diff --git a/drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h b/drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h
index 3f1c189646f4..244e27ea079c 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 use H/W TSO and avoid the WQE 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..e85449249670 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 use H/W TSO and avoid the WQE malformation
  * PKO_BUG_24989_WQE_LEN
  */
 #define    CN23XX_DEFAULT_INPUT_JABBER             0xEA60 /*60000*/