diff options
Diffstat (limited to 'drivers/scsi/ipr.c')
-rw-r--r-- | drivers/scsi/ipr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index 5441531c0d8e..a3d9cf675681 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c | |||
@@ -1053,7 +1053,7 @@ static void ipr_log_array_error(struct ipr_ioa_cfg *ioa_cfg, | |||
1053 | array_entry->dev_res_addr.lun); | 1053 | array_entry->dev_res_addr.lun); |
1054 | } | 1054 | } |
1055 | 1055 | ||
1056 | if (array_entry->dev_res_addr.bus >= IPR_MAX_NUM_BUSES) { | 1056 | if (array_entry->expected_dev_res_addr.bus >= IPR_MAX_NUM_BUSES) { |
1057 | ipr_err("Expected Location: unknown\n"); | 1057 | ipr_err("Expected Location: unknown\n"); |
1058 | } else { | 1058 | } else { |
1059 | ipr_err("Expected Location: %d:%d:%d:%d\n", | 1059 | ipr_err("Expected Location: %d:%d:%d:%d\n", |
@@ -5886,6 +5886,7 @@ static void __ipr_remove(struct pci_dev *pdev) | |||
5886 | 5886 | ||
5887 | spin_unlock_irqrestore(ioa_cfg->host->host_lock, host_lock_flags); | 5887 | spin_unlock_irqrestore(ioa_cfg->host->host_lock, host_lock_flags); |
5888 | wait_event(ioa_cfg->reset_wait_q, !ioa_cfg->in_reset_reload); | 5888 | wait_event(ioa_cfg->reset_wait_q, !ioa_cfg->in_reset_reload); |
5889 | flush_scheduled_work(); | ||
5889 | spin_lock_irqsave(ioa_cfg->host->host_lock, host_lock_flags); | 5890 | spin_lock_irqsave(ioa_cfg->host->host_lock, host_lock_flags); |
5890 | 5891 | ||
5891 | spin_lock(&ipr_driver_lock); | 5892 | spin_lock(&ipr_driver_lock); |
@@ -5916,8 +5917,6 @@ static void ipr_remove(struct pci_dev *pdev) | |||
5916 | 5917 | ||
5917 | ENTER; | 5918 | ENTER; |
5918 | 5919 | ||
5919 | ioa_cfg->allow_cmds = 0; | ||
5920 | flush_scheduled_work(); | ||
5921 | ipr_remove_trace_file(&ioa_cfg->host->shost_classdev.kobj, | 5920 | ipr_remove_trace_file(&ioa_cfg->host->shost_classdev.kobj, |
5922 | &ipr_trace_attr); | 5921 | &ipr_trace_attr); |
5923 | ipr_remove_dump_file(&ioa_cfg->host->shost_classdev.kobj, | 5922 | ipr_remove_dump_file(&ioa_cfg->host->shost_classdev.kobj, |