Linux SCSI subsystem development
 help / color / mirror / Atom feed
* [PATCH] scsi: message: fusion: fix a few trivial spelling mistakes
@ 2018-09-09 22:17 Colin King
  2018-09-10  7:44 ` Julia Lawall
  0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2018-09-09 22:17 UTC (permalink / raw)
  To: Sathya Prakash, Chaitra P B, Suganath Prabu Subramani,
	MPT-FusionLinux.pdl, linux-scsi
  Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

Trival fix to spelling mistakes:
PrimativeSeqErrCount -> PrimitiveSeqErrCount
Broadcase -> Broadcast
Primative -> Primitive

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/message/fusion/lsi/mpi_cnfg.h | 2 +-
 drivers/message/fusion/mptbase.c      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/message/fusion/lsi/mpi_cnfg.h b/drivers/message/fusion/lsi/mpi_cnfg.h
index 059997f8ebce..178f414ea8f9 100644
--- a/drivers/message/fusion/lsi/mpi_cnfg.h
+++ b/drivers/message/fusion/lsi/mpi_cnfg.h
@@ -2004,7 +2004,7 @@ typedef struct _CONFIG_PAGE_FC_PORT_6
     U64                     LinkFailureCount;           /* 50h */
     U64                     LossOfSyncCount;            /* 58h */
     U64                     LossOfSignalCount;          /* 60h */
-    U64                     PrimativeSeqErrCount;       /* 68h */
+    U64                     PrimitiveSeqErrCount;       /* 68h */
     U64                     InvalidTxWordCount;         /* 70h */
     U64                     InvalidCrcCount;            /* 78h */
     U64                     FcpInitiatorIoCount;        /* 80h */
diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c
index e6b4ae558767..2b1ea7f8031d 100644
--- a/drivers/message/fusion/mptbase.c
+++ b/drivers/message/fusion/mptbase.c
@@ -7572,7 +7572,7 @@ mpt_display_event_info(MPT_ADAPTER *ioc, EventNotificationReply_t *pEventReply)
 		u8 port_width = (u8)(evData0 >> 16);
 		u8 primative = (u8)(evData0 >> 24);
 		snprintf(evStr, EVENT_DESCR_STR_SZ,
-		    "SAS Broadcase Primative: phy=%d port=%d "
+		    "SAS Broadcast Primitive: phy=%d port=%d "
 		    "width=%d primative=0x%02x",
 		    phy_num, port_num, port_width, primative);
 		break;
-- 
2.17.1

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

* Re: [PATCH] scsi: message: fusion: fix a few trivial spelling mistakes
  2018-09-09 22:17 [PATCH] scsi: message: fusion: fix a few trivial spelling mistakes Colin King
@ 2018-09-10  7:44 ` Julia Lawall
  0 siblings, 0 replies; 2+ messages in thread
From: Julia Lawall @ 2018-09-10  7:44 UTC (permalink / raw)
  To: Colin King
  Cc: Sathya Prakash, Chaitra P B, Suganath Prabu Subramani,
	MPT-FusionLinux.pdl, linux-scsi, kernel-janitors, linux-kernel



On Sun, 9 Sep 2018, Colin King wrote:

> From: Colin Ian King <colin.king@canonical.com>
>
> Trival fix to spelling mistakes:
> PrimativeSeqErrCount -> PrimitiveSeqErrCount
> Broadcase -> Broadcast
> Primative -> Primitive
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  drivers/message/fusion/lsi/mpi_cnfg.h | 2 +-
>  drivers/message/fusion/mptbase.c      | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/message/fusion/lsi/mpi_cnfg.h b/drivers/message/fusion/lsi/mpi_cnfg.h
> index 059997f8ebce..178f414ea8f9 100644
> --- a/drivers/message/fusion/lsi/mpi_cnfg.h
> +++ b/drivers/message/fusion/lsi/mpi_cnfg.h
> @@ -2004,7 +2004,7 @@ typedef struct _CONFIG_PAGE_FC_PORT_6
>      U64                     LinkFailureCount;           /* 50h */
>      U64                     LossOfSyncCount;            /* 58h */
>      U64                     LossOfSignalCount;          /* 60h */
> -    U64                     PrimativeSeqErrCount;       /* 68h */
> +    U64                     PrimitiveSeqErrCount;       /* 68h */

It's not used anywhere?

>      U64                     InvalidTxWordCount;         /* 70h */
>      U64                     InvalidCrcCount;            /* 78h */
>      U64                     FcpInitiatorIoCount;        /* 80h */
> diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c
> index e6b4ae558767..2b1ea7f8031d 100644
> --- a/drivers/message/fusion/mptbase.c
> +++ b/drivers/message/fusion/mptbase.c
> @@ -7572,7 +7572,7 @@ mpt_display_event_info(MPT_ADAPTER *ioc, EventNotificationReply_t *pEventReply)
>  		u8 port_width = (u8)(evData0 >> 16);
>  		u8 primative = (u8)(evData0 >> 24);

Another primative here.

>  		snprintf(evStr, EVENT_DESCR_STR_SZ,
> -		    "SAS Broadcase Primative: phy=%d port=%d "
> +		    "SAS Broadcast Primitive: phy=%d port=%d "
>  		    "width=%d primative=0x%02x",
>  		    phy_num, port_num, port_width, primative);

And another one here.

julia

>  		break;
> --
> 2.17.1
>
>

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

end of thread, other threads:[~2018-09-10  7:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-09 22:17 [PATCH] scsi: message: fusion: fix a few trivial spelling mistakes Colin King
2018-09-10  7:44 ` Julia Lawall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox