diff options
author | Jiri Kosina <jkosina@suse.cz> | 2010-06-16 12:08:13 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-06-16 12:08:13 -0400 |
commit | f1bbbb6912662b9f6070c5bfc4ca9eb1f06a9d5b (patch) | |
tree | c2c130a74be25b0b2dff992e1a195e2728bdaadd /drivers/scsi/mpt2sas | |
parent | fd0961ff67727482bb20ca7e8ea97b83e9de2ddb (diff) | |
parent | 7e27d6e778cd87b6f2415515d7127eba53fe5d02 (diff) |
Merge branch 'master' into for-next
Diffstat (limited to 'drivers/scsi/mpt2sas')
-rw-r--r-- | drivers/scsi/mpt2sas/mpt2sas_base.c | 2 | ||||
-rw-r--r-- | drivers/scsi/mpt2sas/mpt2sas_config.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c index b830d61684d..0ec1ed389c2 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_base.c +++ b/drivers/scsi/mpt2sas/mpt2sas_base.c | |||
@@ -3757,7 +3757,7 @@ _base_reset_handler(struct MPT2SAS_ADAPTER *ioc, int reset_phase) | |||
3757 | if (ioc->config_cmds.status & MPT2_CMD_PENDING) { | 3757 | if (ioc->config_cmds.status & MPT2_CMD_PENDING) { |
3758 | ioc->config_cmds.status |= MPT2_CMD_RESET; | 3758 | ioc->config_cmds.status |= MPT2_CMD_RESET; |
3759 | mpt2sas_base_free_smid(ioc, ioc->config_cmds.smid); | 3759 | mpt2sas_base_free_smid(ioc, ioc->config_cmds.smid); |
3760 | ioc->config_cmds.smid = USHORT_MAX; | 3760 | ioc->config_cmds.smid = USHRT_MAX; |
3761 | complete(&ioc->config_cmds.done); | 3761 | complete(&ioc->config_cmds.done); |
3762 | } | 3762 | } |
3763 | break; | 3763 | break; |
diff --git a/drivers/scsi/mpt2sas/mpt2sas_config.c b/drivers/scsi/mpt2sas/mpt2sas_config.c index e762dd3e2fc..c65442982d7 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_config.c +++ b/drivers/scsi/mpt2sas/mpt2sas_config.c | |||
@@ -258,7 +258,7 @@ mpt2sas_config_done(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, | |||
258 | #ifdef CONFIG_SCSI_MPT2SAS_LOGGING | 258 | #ifdef CONFIG_SCSI_MPT2SAS_LOGGING |
259 | _config_display_some_debug(ioc, smid, "config_done", mpi_reply); | 259 | _config_display_some_debug(ioc, smid, "config_done", mpi_reply); |
260 | #endif | 260 | #endif |
261 | ioc->config_cmds.smid = USHORT_MAX; | 261 | ioc->config_cmds.smid = USHRT_MAX; |
262 | complete(&ioc->config_cmds.done); | 262 | complete(&ioc->config_cmds.done); |
263 | return 1; | 263 | return 1; |
264 | } | 264 | } |