aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-08-04 18:31:02 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-04 18:31:02 -0400
commit3cfc2c42c1cbc8e238bb9c0612c0df4565e3a8b4 (patch)
tree5adc1ff2eaf64d450bf28bb6b2ce890db2567288 /drivers/scsi/mpt2sas
parent5cf65713f87775c548e3eb48dbafa32e12f28000 (diff)
parent0ea6e61122196509af82cc4f36cbdaacbefb8227 (diff)
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (48 commits) Documentation: update broken web addresses. fix comment typo "choosed" -> "chosen" hostap:hostap_hw.c Fix typo in comment Fix spelling contorller -> controller in comments Kconfig.debug: FAIL_IO_TIMEOUT: typo Faul -> Fault fs/Kconfig: Fix typo Userpace -> Userspace Removing dead MACH_U300_BS26 drivers/infiniband: Remove unnecessary casts of private_data fs/ocfs2: Remove unnecessary casts of private_data libfc: use ARRAY_SIZE scsi: bfa: use ARRAY_SIZE drm: i915: use ARRAY_SIZE drm: drm_edid: use ARRAY_SIZE synclink: use ARRAY_SIZE block: cciss: use ARRAY_SIZE comment typo fixes: charater => character fix comment typos concerning "challenge" arm: plat-spear: fix typo in kerneldoc reiserfs: typo comment fix update email address ...
Diffstat (limited to 'drivers/scsi/mpt2sas')
-rw-r--r--drivers/scsi/mpt2sas/mpt2sas_base.h2
-rw-r--r--drivers/scsi/mpt2sas/mpt2sas_scsih.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.h b/drivers/scsi/mpt2sas/mpt2sas_base.h
index 0ebef0c0d949..0b15a8bdebfc 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_base.h
+++ b/drivers/scsi/mpt2sas/mpt2sas_base.h
@@ -475,7 +475,7 @@ typedef void (*MPT_ADD_SGE)(void *paddr, u32 flags_length, dma_addr_t dma_addr);
475 * @shost_recovery: host reset in progress 475 * @shost_recovery: host reset in progress
476 * @ioc_reset_in_progress_lock: 476 * @ioc_reset_in_progress_lock:
477 * @ioc_link_reset_in_progress: phy/hard reset in progress 477 * @ioc_link_reset_in_progress: phy/hard reset in progress
478 * @ignore_loginfos: ignore loginfos during task managment 478 * @ignore_loginfos: ignore loginfos during task management
479 * @remove_host: flag for when driver unloads, to avoid sending dev resets 479 * @remove_host: flag for when driver unloads, to avoid sending dev resets
480 * @pci_error_recovery: flag to prevent ioc access until slot reset completes 480 * @pci_error_recovery: flag to prevent ioc access until slot reset completes
481 * @wait_for_port_enable_to_complete: 481 * @wait_for_port_enable_to_complete:
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 */