Commit 6c7abffc authored by Colin Ian King's avatar Colin Ian King Committed by Martin K. Petersen

scsi: mpt3sas: fix some spelling mistakes in message and comments

Trivial fixes, minor spelling mistakes in comments and in a KERN_INFO
message.

[mkp: fixed spelling mistake in patch description]
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 41e1d60e
...@@ -423,7 +423,7 @@ _scsih_get_sas_address(struct MPT3SAS_ADAPTER *ioc, u16 handle, ...@@ -423,7 +423,7 @@ _scsih_get_sas_address(struct MPT3SAS_ADAPTER *ioc, u16 handle,
return 0; return 0;
} }
/* we hit this becuase the given parent handle doesn't exist */ /* we hit this because the given parent handle doesn't exist */
if (ioc_status == MPI2_IOCSTATUS_CONFIG_INVALID_PAGE) if (ioc_status == MPI2_IOCSTATUS_CONFIG_INVALID_PAGE)
return -ENXIO; return -ENXIO;
...@@ -1523,7 +1523,7 @@ _scsih_display_sata_capabilities(struct MPT3SAS_ADAPTER *ioc, ...@@ -1523,7 +1523,7 @@ _scsih_display_sata_capabilities(struct MPT3SAS_ADAPTER *ioc,
/* /*
* raid transport support - * raid transport support -
* Enabled for SLES11 and newer, in older kernels the driver will panic when * Enabled for SLES11 and newer, in older kernels the driver will panic when
* unloading the driver followed by a load - I beleive that the subroutine * unloading the driver followed by a load - I believe that the subroutine
* raid_class_release() is not cleaning up properly. * raid_class_release() is not cleaning up properly.
*/ */
...@@ -2948,7 +2948,7 @@ _scsih_ublock_io_device(struct MPT3SAS_ADAPTER *ioc, u64 sas_address) ...@@ -2948,7 +2948,7 @@ _scsih_ublock_io_device(struct MPT3SAS_ADAPTER *ioc, u64 sas_address)
* @ioc: per adapter object * @ioc: per adapter object
* @handle: device handle * @handle: device handle
* *
* During device pull we need to appropiately set the sdev state. * During device pull we need to appropriately set the sdev state.
*/ */
static void static void
_scsih_block_io_all_device(struct MPT3SAS_ADAPTER *ioc) _scsih_block_io_all_device(struct MPT3SAS_ADAPTER *ioc)
...@@ -2977,7 +2977,7 @@ _scsih_block_io_all_device(struct MPT3SAS_ADAPTER *ioc) ...@@ -2977,7 +2977,7 @@ _scsih_block_io_all_device(struct MPT3SAS_ADAPTER *ioc)
* @ioc: per adapter object * @ioc: per adapter object
* @handle: device handle * @handle: device handle
* *
* During device pull we need to appropiately set the sdev state. * During device pull we need to appropriately set the sdev state.
*/ */
static void static void
_scsih_block_io_device(struct MPT3SAS_ADAPTER *ioc, u16 handle) _scsih_block_io_device(struct MPT3SAS_ADAPTER *ioc, u16 handle)
...@@ -3936,7 +3936,7 @@ _scsih_flush_running_cmds(struct MPT3SAS_ADAPTER *ioc) ...@@ -3936,7 +3936,7 @@ _scsih_flush_running_cmds(struct MPT3SAS_ADAPTER *ioc)
* _scsih_setup_eedp - setup MPI request for EEDP transfer * _scsih_setup_eedp - setup MPI request for EEDP transfer
* @ioc: per adapter object * @ioc: per adapter object
* @scmd: pointer to scsi command object * @scmd: pointer to scsi command object
* @mpi_request: pointer to the SCSI_IO reqest message frame * @mpi_request: pointer to the SCSI_IO request message frame
* *
* Supporting protection 1 and 3. * Supporting protection 1 and 3.
* *
...@@ -4088,7 +4088,7 @@ scsih_qcmd(struct Scsi_Host *shost, struct scsi_cmnd *scmd) ...@@ -4088,7 +4088,7 @@ scsih_qcmd(struct Scsi_Host *shost, struct scsi_cmnd *scmd)
scmd->result = DID_NO_CONNECT << 16; scmd->result = DID_NO_CONNECT << 16;
scmd->scsi_done(scmd); scmd->scsi_done(scmd);
return 0; return 0;
/* device busy with task managment */ /* device busy with task management */
} else if (sas_target_priv_data->tm_busy || } else if (sas_target_priv_data->tm_busy ||
sas_device_priv_data->block) sas_device_priv_data->block)
return SCSI_MLQUEUE_DEVICE_BUSY; return SCSI_MLQUEUE_DEVICE_BUSY;
...@@ -6327,7 +6327,7 @@ _scsih_reprobe_lun(struct scsi_device *sdev, void *no_uld_attach) ...@@ -6327,7 +6327,7 @@ _scsih_reprobe_lun(struct scsi_device *sdev, void *no_uld_attach)
{ {
sdev->no_uld_attach = no_uld_attach ? 1 : 0; sdev->no_uld_attach = no_uld_attach ? 1 : 0;
sdev_printk(KERN_INFO, sdev, "%s raid component\n", sdev_printk(KERN_INFO, sdev, "%s raid component\n",
sdev->no_uld_attach ? "hidding" : "exposing"); sdev->no_uld_attach ? "hiding" : "exposing");
WARN_ON(scsi_device_reprobe(sdev)); WARN_ON(scsi_device_reprobe(sdev));
} }
...@@ -9217,7 +9217,7 @@ scsih_init(void) ...@@ -9217,7 +9217,7 @@ scsih_init(void)
/* queuecommand callback hander */ /* queuecommand callback hander */
scsi_io_cb_idx = mpt3sas_base_register_callback_handler(_scsih_io_done); scsi_io_cb_idx = mpt3sas_base_register_callback_handler(_scsih_io_done);
/* task managment callback handler */ /* task management callback handler */
tm_cb_idx = mpt3sas_base_register_callback_handler(_scsih_tm_done); tm_cb_idx = mpt3sas_base_register_callback_handler(_scsih_tm_done);
/* base internal commands callback handler */ /* base internal commands callback handler */
......
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