diff options
Diffstat (limited to 'drivers/scsi/mpt2sas/mpt2sas_scsih.c')
-rw-r--r-- | drivers/scsi/mpt2sas/mpt2sas_scsih.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c index 6273abd0535e..16e99b686354 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c +++ b/drivers/scsi/mpt2sas/mpt2sas_scsih.c | |||
@@ -3349,7 +3349,7 @@ _scsih_qcmd(struct scsi_cmnd *scmd, void (*done)(struct scsi_cmnd *)) | |||
3349 | /* host recovery or link resets sent via IOCTLs */ | 3349 | /* host recovery or link resets sent via IOCTLs */ |
3350 | if (ioc->shost_recovery || ioc->ioc_link_reset_in_progress) | 3350 | if (ioc->shost_recovery || ioc->ioc_link_reset_in_progress) |
3351 | return SCSI_MLQUEUE_HOST_BUSY; | 3351 | return SCSI_MLQUEUE_HOST_BUSY; |
3352 | /* device busy with task managment */ | 3352 | /* device busy with task management */ |
3353 | else if (sas_device_priv_data->block || sas_target_priv_data->tm_busy) | 3353 | else if (sas_device_priv_data->block || sas_target_priv_data->tm_busy) |
3354 | return SCSI_MLQUEUE_DEVICE_BUSY; | 3354 | return SCSI_MLQUEUE_DEVICE_BUSY; |
3355 | /* device has been deleted */ | 3355 | /* device has been deleted */ |
@@ -7226,7 +7226,7 @@ _scsih_init(void) | |||
7226 | /* queuecommand callback hander */ | 7226 | /* queuecommand callback hander */ |
7227 | scsi_io_cb_idx = mpt2sas_base_register_callback_handler(_scsih_io_done); | 7227 | scsi_io_cb_idx = mpt2sas_base_register_callback_handler(_scsih_io_done); |
7228 | 7228 | ||
7229 | /* task managment callback handler */ | 7229 | /* task management callback handler */ |
7230 | tm_cb_idx = mpt2sas_base_register_callback_handler(_scsih_tm_done); | 7230 | tm_cb_idx = mpt2sas_base_register_callback_handler(_scsih_tm_done); |
7231 | 7231 | ||
7232 | /* base internal commands callback handler */ | 7232 | /* base internal commands callback handler */ |