Message ID | 20150317200323.19856.22546.stgit@brunhilda (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 15bf3bcb..76865df 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -1855,8 +1855,7 @@ static int handle_ioaccel_mode2_error(struct ctlr_info *h, retry = 1; break; case IOACCEL2_STATUS_SR_TASK_COMP_SET_FULL: - /* Make scsi midlayer do unlimited retries */ - cmd->result = DID_IMM_RETRY << 16; + retry = 1; break; case IOACCEL2_STATUS_SR_TASK_COMP_ABORTED: dev_warn(&h->pdev->dev,