aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hpsa.c
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2012-07-26 12:34:17 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-09-14 06:51:11 -0400
commitd6ebd0f758bec06041442aa62c602281005fb9ef (patch)
treebe8f8663c6d3553492588735f83b5d3622155cf6 /drivers/scsi/hpsa.c
parent21e89afd325849eb38adccf382df16cc895911f9 (diff)
[SCSI] hpsa: fix incorrect abort diagnostic message
In the abort handler, when asked to abort a command which is not known to the driver, SUCCESS is returned, but the diagnostic message incorrectly indicates the abort failed. Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/hpsa.c')
-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 015a6c8aa984..415db96ec1ed 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -2609,7 +2609,7 @@ static int hpsa_eh_abort_handler(struct scsi_cmnd *sc)
2609 /* not in reqQ, if also not in cmpQ, must have already completed */ 2609 /* not in reqQ, if also not in cmpQ, must have already completed */
2610 found = hpsa_find_cmd_in_queue(h, sc, &h->cmpQ); 2610 found = hpsa_find_cmd_in_queue(h, sc, &h->cmpQ);
2611 if (!found) { 2611 if (!found) {
2612 dev_dbg(&h->pdev->dev, "%s Request FAILED (not known to driver).\n", 2612 dev_dbg(&h->pdev->dev, "%s Request SUCCEEDED (not known to driver).\n",
2613 msg); 2613 msg);
2614 return SUCCESS; 2614 return SUCCESS;
2615 } 2615 }