summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/hpsa.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 5007490cdf3a..e029df7b5b98 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -7759,7 +7759,12 @@ reinit_after_soft_reset:
if (rc) {
dev_warn(&h->pdev->dev,
"Failed to request_irq after soft reset.\n");
- goto clean4;
+ /*
+ * clean4 starts with free_irqs, but that was just
+ * done. Then, request_irqs_failed, so there is
+ * nothing to free. So, goto the next label.
+ */
+ goto clean3;
}
rc = hpsa_kdump_soft_reset(h);