Re: [PATCH] scsi: message: fusion: fix a few trivial spelling mistakes

From: Julia Lawall
Date: Mon Sep 10 2018 - 03:44:48 EST




On Sun, 9 Sep 2018, Colin King wrote:

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Trival fix to spelling mistakes:
> PrimativeSeqErrCount -> PrimitiveSeqErrCount
> Broadcase -> Broadcast
> Primative -> Primitive
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> ---
> 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
>
>