Skip to contentSkip to conversation

scsi: message: fusion: fix a few trivial spelling mistakes

PATCH Superseded Colin King 2 participants 2 messages Sep 9, 2018 – Sep 10, 2018

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 scsi: message: fusion: fix a few trivial spelling mistakes

From: Colin Ian King <[email protected]>

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

---
 drivers/message/fusion/lsi/mpi_cnfg.h | 2 +-
 drivers/message/fusion/mptbase.c      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/message/fusion/lsi/mpi_cnfg.h +1 -1
index 059997f8ebce..178f414ea8f9 100644
@@ -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 */
drivers/message/fusion/mptbase.c +1 -1
index e6b4ae558767..2b1ea7f8031d 100644
@@ -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;
Signature · 1 line
2.17.1
#1 lore raw
Quoted 18 lines · Colin King

From: Colin Ian King <[email protected]>

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

---
 drivers/message/fusion/lsi/mpi_cnfg.h | 2 +-
 drivers/message/fusion/mptbase.c      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/message/fusion/lsi/mpi_cnfg.h +0 -0
index 059997f8ebce..178f414ea8f9 100644

drivers/message/fusion/lsi/mpi_cnfg.h typedef struct _CONFIG_PAGE_FC_PORT_6 · line 2007

Quoted 5 lines
drivers/message/fusion/lsi/mpi_cnfg.h +1 -1
@@ -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?

drivers/message/fusion/mptbase.c mpt_display_event_info(MPT_ADAPTER *ioc, EventNotificationReply_t *pEventReply) · line 7573

Quoted 10 lines
drivers/message/fusion/lsi/mpi_cnfg.h +0 -0
     U64                     InvalidTxWordCount;         /* 70h */
     U64                     InvalidCrcCount;            /* 78h */
     U64                     FcpInitiatorIoCount;        /* 80h */
drivers/message/fusion/mptbase.c +0 -0
index e6b4ae558767..2b1ea7f8031d 100644
@@ -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.

drivers/message/fusion/mptbase.c mpt_display_event_info(MPT_ADAPTER *ioc, EventNotificationReply_t *pEventReply) · line 7577

Quoted 5 lines
drivers/message/fusion/mptbase.c +1 -1
 		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

Quoted 5 lines
drivers/message/fusion/mptbase.c +0 -1
 		break;
--

2.17.1