summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorDon Brace <don.brace@microsemi.com>2017-03-10 14:35:23 -0600
committerMartin K. Petersen <martin.petersen@oracle.com>2017-03-15 13:37:17 -0400
commit2ef2884980873081a4edae92f9d88dd580c85f6e (patch)
tree4e403cc7038fab52e0dddcaa17079f2d59e8e8b2 /drivers/scsi
parent87b9e6aa87d9411f1059aa245c0c79976bc557ac (diff)
downloadop-kernel-dev-2ef2884980873081a4edae92f9d88dd580c85f6e.zip
op-kernel-dev-2ef2884980873081a4edae92f9d88dd580c85f6e.tar.gz
scsi: hpsa: do not timeout reset operations
Resets can take longer than DEFAULT_TIMEOUT. Reviewed-by: Scott Benesh <scott.benesh@microsemi.com> Reviewed-by: Scott Teel <scott.teel@microsemi.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: Don Brace <don.brace@microsemi.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/hpsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 0a8ac68..0d0be77 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -2956,7 +2956,7 @@ static int hpsa_send_reset(struct ctlr_info *h, unsigned char *scsi3addr,
/* fill_cmd can't fail here, no data buffer to map. */
(void) fill_cmd(c, reset_type, h, NULL, 0, 0,
scsi3addr, TYPE_MSG);
- rc = hpsa_scsi_do_simple_cmd(h, c, reply_queue, DEFAULT_TIMEOUT);
+ rc = hpsa_scsi_do_simple_cmd(h, c, reply_queue, NO_TIMEOUT);
if (rc) {
dev_warn(&h->pdev->dev, "Failed to send reset command\n");
goto out;
OpenPOWER on IntegriCloud