Commit 94e989de authored by Colin Ian King's avatar Colin Ian King Committed by Martin K. Petersen

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

Trival fix to spelling mistakes:

 PrimativeSeqErrCount -> PrimitiveSeqErrCount
 Primative -> Primitive
 primative -> primitive
 mptsas_broadcast_primative_work -> mptsas_broadcast_primitive_work
 Broadcase -> Broadcast
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent b5dedc75
...@@ -2004,7 +2004,7 @@ typedef struct _CONFIG_PAGE_FC_PORT_6 ...@@ -2004,7 +2004,7 @@ typedef struct _CONFIG_PAGE_FC_PORT_6
U64 LinkFailureCount; /* 50h */ U64 LinkFailureCount; /* 50h */
U64 LossOfSyncCount; /* 58h */ U64 LossOfSyncCount; /* 58h */
U64 LossOfSignalCount; /* 60h */ U64 LossOfSignalCount; /* 60h */
U64 PrimativeSeqErrCount; /* 68h */ U64 PrimitiveSeqErrCount; /* 68h */
U64 InvalidTxWordCount; /* 70h */ U64 InvalidTxWordCount; /* 70h */
U64 InvalidCrcCount; /* 78h */ U64 InvalidCrcCount; /* 78h */
U64 FcpInitiatorIoCount; /* 80h */ U64 FcpInitiatorIoCount; /* 80h */
......
...@@ -7570,11 +7570,11 @@ mpt_display_event_info(MPT_ADAPTER *ioc, EventNotificationReply_t *pEventReply) ...@@ -7570,11 +7570,11 @@ mpt_display_event_info(MPT_ADAPTER *ioc, EventNotificationReply_t *pEventReply)
u8 phy_num = (u8)(evData0); u8 phy_num = (u8)(evData0);
u8 port_num = (u8)(evData0 >> 8); u8 port_num = (u8)(evData0 >> 8);
u8 port_width = (u8)(evData0 >> 16); u8 port_width = (u8)(evData0 >> 16);
u8 primative = (u8)(evData0 >> 24); u8 primitive = (u8)(evData0 >> 24);
snprintf(evStr, EVENT_DESCR_STR_SZ, 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", "width=%d primitive=0x%02x",
phy_num, port_num, port_width, primative); phy_num, port_num, port_width, primitive);
break; break;
} }
......
...@@ -129,7 +129,7 @@ static void mptsas_expander_delete(MPT_ADAPTER *ioc, ...@@ -129,7 +129,7 @@ static void mptsas_expander_delete(MPT_ADAPTER *ioc,
static void mptsas_send_expander_event(struct fw_event_work *fw_event); static void mptsas_send_expander_event(struct fw_event_work *fw_event);
static void mptsas_not_responding_devices(MPT_ADAPTER *ioc); static void mptsas_not_responding_devices(MPT_ADAPTER *ioc);
static void mptsas_scan_sas_topology(MPT_ADAPTER *ioc); static void mptsas_scan_sas_topology(MPT_ADAPTER *ioc);
static void mptsas_broadcast_primative_work(struct fw_event_work *fw_event); static void mptsas_broadcast_primitive_work(struct fw_event_work *fw_event);
static void mptsas_handle_queue_full_event(struct fw_event_work *fw_event); static void mptsas_handle_queue_full_event(struct fw_event_work *fw_event);
static void mptsas_volume_delete(MPT_ADAPTER *ioc, u8 id); static void mptsas_volume_delete(MPT_ADAPTER *ioc, u8 id);
void mptsas_schedule_target_reset(void *ioc); void mptsas_schedule_target_reset(void *ioc);
...@@ -1665,7 +1665,7 @@ mptsas_firmware_event_work(struct work_struct *work) ...@@ -1665,7 +1665,7 @@ mptsas_firmware_event_work(struct work_struct *work)
mptsas_free_fw_event(ioc, fw_event); mptsas_free_fw_event(ioc, fw_event);
break; break;
case MPI_EVENT_SAS_BROADCAST_PRIMITIVE: case MPI_EVENT_SAS_BROADCAST_PRIMITIVE:
mptsas_broadcast_primative_work(fw_event); mptsas_broadcast_primitive_work(fw_event);
break; break;
case MPI_EVENT_SAS_EXPANDER_STATUS_CHANGE: case MPI_EVENT_SAS_EXPANDER_STATUS_CHANGE:
mptsas_send_expander_event(fw_event); mptsas_send_expander_event(fw_event);
...@@ -4826,13 +4826,13 @@ mptsas_issue_tm(MPT_ADAPTER *ioc, u8 type, u8 channel, u8 id, u64 lun, ...@@ -4826,13 +4826,13 @@ mptsas_issue_tm(MPT_ADAPTER *ioc, u8 type, u8 channel, u8 id, u64 lun,
} }
/** /**
* mptsas_broadcast_primative_work - Handle broadcast primitives * mptsas_broadcast_primitive_work - Handle broadcast primitives
* @work: work queue payload containing info describing the event * @work: work queue payload containing info describing the event
* *
* this will be handled in workqueue context. * this will be handled in workqueue context.
*/ */
static void static void
mptsas_broadcast_primative_work(struct fw_event_work *fw_event) mptsas_broadcast_primitive_work(struct fw_event_work *fw_event)
{ {
MPT_ADAPTER *ioc = fw_event->ioc; MPT_ADAPTER *ioc = fw_event->ioc;
MPT_FRAME_HDR *mf; MPT_FRAME_HDR *mf;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment