diff mbox series

ethernet: chelsio: fix a typo

Message ID 20240915125204.107241-1-algonell@gmail.com (mailing list archive)
State Superseded
Delegated to: Netdev Maintainers
Headers show
Series ethernet: chelsio: fix a typo | expand

Checks

Context Check Description
netdev/series_format warning Single patches do not need cover letters; Target tree name not specified in the subject
netdev/tree_selection success Guessed tree name to be net-next
netdev/ynl success Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 16 this patch: 16
netdev/build_tools success No tools touched, skip
netdev/cc_maintainers success CCed 5 of 5 maintainers
netdev/build_clang success Errors and warnings before: 16 this patch: 16
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
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: 16 this patch: 16
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 8 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Andrew Kreimer Sept. 15, 2024, 12:52 p.m. UTC
Fix a typo in comments.

Reported-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Kreimer <algonell@gmail.com>
---
 drivers/net/ethernet/chelsio/cxgb/suni1x10gexp_regs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Christophe JAILLET Sept. 15, 2024, 12:56 p.m. UTC | #1
Le 15/09/2024 à 14:52, Andrew Kreimer a écrit :
> Fix a typo in comments.
> 
> Reported-by: Matthew Wilcox <willy@infradead.org>
> Signed-off-by: Andrew Kreimer <algonell@gmail.com>
> ---
>   drivers/net/ethernet/chelsio/cxgb/suni1x10gexp_regs.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/ethernet/chelsio/cxgb/suni1x10gexp_regs.h b/drivers/net/ethernet/chelsio/cxgb/suni1x10gexp_regs.h
> index 4c883170683b..ad82119db20b 100644
> --- a/drivers/net/ethernet/chelsio/cxgb/suni1x10gexp_regs.h
> +++ b/drivers/net/ethernet/chelsio/cxgb/suni1x10gexp_regs.h
> @@ -49,7 +49,7 @@
>   /******************************************************************************/
>   /** S/UNI-1x10GE-XP REGISTER ADDRESS MAP                                     **/
>   /******************************************************************************/
> -/* Refer to the Register Bit Masks bellow for the naming of each register and */
> +/* Refer to the Register Bit Masks below for the naming of each register and */
>   /* to the S/UNI-1x10GE-XP Data Sheet for the signification of each bit        */
>   /******************************************************************************/
>   

Hi,

Nitpick: a space should be added between "and" and "*/" to keep a nice 
layout.

CJ
Andrew Kreimer Sept. 15, 2024, 1:19 p.m. UTC | #2
On Sun, Sep 15, 2024 at 02:56:59PM +0200, Christophe JAILLET wrote:
> Le 15/09/2024 à 14:52, Andrew Kreimer a écrit :
> > Fix a typo in comments.
> > 
> > Reported-by: Matthew Wilcox <willy@infradead.org>
> > Signed-off-by: Andrew Kreimer <algonell@gmail.com>
> > ---
> >   drivers/net/ethernet/chelsio/cxgb/suni1x10gexp_regs.h | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/net/ethernet/chelsio/cxgb/suni1x10gexp_regs.h b/drivers/net/ethernet/chelsio/cxgb/suni1x10gexp_regs.h
> > index 4c883170683b..ad82119db20b 100644
> > --- a/drivers/net/ethernet/chelsio/cxgb/suni1x10gexp_regs.h
> > +++ b/drivers/net/ethernet/chelsio/cxgb/suni1x10gexp_regs.h
> > @@ -49,7 +49,7 @@
> >   /******************************************************************************/
> >   /** S/UNI-1x10GE-XP REGISTER ADDRESS MAP                                     **/
> >   /******************************************************************************/
> > -/* Refer to the Register Bit Masks bellow for the naming of each register and */
> > +/* Refer to the Register Bit Masks below for the naming of each register and */
> >   /* to the S/UNI-1x10GE-XP Data Sheet for the signification of each bit        */
> >   /******************************************************************************/
> 
> Hi,
> 
> Nitpick: a space should be added between "and" and "*/" to keep a nice
> layout.

Absolutely.

> 
> CJ
diff mbox series

Patch

diff --git a/drivers/net/ethernet/chelsio/cxgb/suni1x10gexp_regs.h b/drivers/net/ethernet/chelsio/cxgb/suni1x10gexp_regs.h
index 4c883170683b..ad82119db20b 100644
--- a/drivers/net/ethernet/chelsio/cxgb/suni1x10gexp_regs.h
+++ b/drivers/net/ethernet/chelsio/cxgb/suni1x10gexp_regs.h
@@ -49,7 +49,7 @@ 
 /******************************************************************************/
 /** S/UNI-1x10GE-XP REGISTER ADDRESS MAP                                     **/
 /******************************************************************************/
-/* Refer to the Register Bit Masks bellow for the naming of each register and */
+/* Refer to the Register Bit Masks below for the naming of each register and */
 /* to the S/UNI-1x10GE-XP Data Sheet for the signification of each bit        */
 /******************************************************************************/