]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
[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)
committerJoe Jin <joe.jin@oracle.com>
Fri, 21 Dec 2012 03:18:53 +0000 (11:18 +0800)
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>
(cherry picked from commit d6ebd0f758bec06041442aa62c602281005fb9ef)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/scsi/hpsa.c

index 272c239595a030eb439cad489f73ebfcb7f1d169..362dec1cdcbde95f3bae1682c3b9a8b1339b96a7 100644 (file)
@@ -2628,7 +2628,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;
        }