]> git.baikalelectronics.ru Git - kernel.git/commitdiff
scsi: mpt3sas: Fix whitespace and spelling mistake
authorZhang Jiaming <jiaming@nfschina.com>
Fri, 17 Jun 2022 10:11:03 +0000 (18:11 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 22 Jun 2022 01:31:44 +0000 (21:31 -0400)
There is a spelling mistake in _base_sas_ioc_info(). Change 'cant' to
'can't'.

Also fix up whitespace.

Link: https://lore.kernel.org/r/20220617101103.3162-1-jiaming@nfschina.com
Signed-off-by: Zhang Jiaming <jiaming@nfschina.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c

index 37d46ae5c61d36a65c209508f29c28f29e492627..8e7fa38aa12852e6b1fd1581a4f02b5a614a186b 100644 (file)
@@ -873,7 +873,7 @@ mpt3sas_base_stop_watchdog(struct MPT3SAS_ADAPTER *ioc)
  * @fault_code: fault code
  */
 void
-mpt3sas_base_fault_info(struct MPT3SAS_ADAPTER *ioc , u16 fault_code)
+mpt3sas_base_fault_info(struct MPT3SAS_ADAPTER *ioc, u16 fault_code)
 {
        ioc_err(ioc, "fault_state(0x%04x)!\n", fault_code);
 }
@@ -1057,7 +1057,7 @@ _base_sas_ioc_info(struct MPT3SAS_ADAPTER *ioc, MPI2DefaultReply_t *mpi_reply,
                desc = "config no defaults";
                break;
        case MPI2_IOCSTATUS_CONFIG_CANT_COMMIT:
-               desc = "config cant commit";
+               desc = "config can't commit";
                break;
 
 /****************************************************************************
@@ -1321,7 +1321,7 @@ _base_display_event_data(struct MPT3SAS_ADAPTER *ioc,
  * @log_info: log info
  */
 static void
-_base_sas_log_info(struct MPT3SAS_ADAPTER *ioc , u32 log_info)
+_base_sas_log_info(struct MPT3SAS_ADAPTER *ioc, u32 log_info)
 {
        union loginfo_type {
                u32     loginfo;
@@ -1393,7 +1393,7 @@ _base_display_reply_info(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index,
 
        if ((ioc_status & MPI2_IOCSTATUS_MASK) &&
            (ioc->logging_level & MPT_DEBUG_REPLY)) {
-               _base_sas_ioc_info(ioc , mpi_reply,
+               _base_sas_ioc_info(ioc, mpi_reply,
                   mpt3sas_base_get_msg_frame(ioc, smid));
        }