[SCSI] hpsa: fix incorrect abort diagnostic message
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Thu, 26 Jul 2012 16:34:17 +0000 (11:34 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 14 Sep 2012 10:51:11 +0000 (11:51 +0100)
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>
drivers/scsi/hpsa.c

index 015a6c8aa98448300608cc8e4bbe5a050822ec65..415db96ec1ed23b5ffef8af352aa8e701bdb2155 100644 (file)
@@ -2609,7 +2609,7 @@ static int hpsa_eh_abort_handler(struct scsi_cmnd *sc)
        /* not in reqQ, if also not in cmpQ, must have already completed */
        found = hpsa_find_cmd_in_queue(h, sc, &h->cmpQ);
        if (!found)  {
-               dev_dbg(&h->pdev->dev, "%s Request FAILED (not known to driver).\n",
+               dev_dbg(&h->pdev->dev, "%s Request SUCCEEDED (not known to driver).\n",
                                msg);
                return SUCCESS;
        }