]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] libata: print cdb[0] in failed qc report
authorTejun Heo <htejun@gmail.com>
Mon, 20 Nov 2006 07:05:34 +0000 (16:05 +0900)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 03:47:03 +0000 (22:47 -0500)
Print cdb[0] in failed qc report.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-eh.c

index 3771eb83875f8a16f1711790b3dd09c4c07b1963..5aa7f0907e83dfa54b2068309363f91425fde8f9 100644 (file)
@@ -1452,14 +1452,15 @@ static void ata_eh_report(struct ata_port *ap)
 
                ata_dev_printk(qc->dev, KERN_ERR,
                        "cmd %02x/%02x:%02x:%02x:%02x:%02x/%02x:%02x:%02x:%02x:%02x/%02x "
-                       "tag %d data %u %s\n         "
+                       "tag %d cdb 0x%x data %u %s\n         "
                        "res %02x/%02x:%02x:%02x:%02x:%02x/%02x:%02x:%02x:%02x:%02x/%02x "
                        "Emask 0x%x (%s)\n",
                        cmd->command, cmd->feature, cmd->nsect,
                        cmd->lbal, cmd->lbam, cmd->lbah,
                        cmd->hob_feature, cmd->hob_nsect,
                        cmd->hob_lbal, cmd->hob_lbam, cmd->hob_lbah,
-                       cmd->device, qc->tag, nbytes, dma_str[qc->dma_dir],
+                       cmd->device, qc->tag, qc->cdb[0], nbytes,
+                       dma_str[qc->dma_dir],
                        res->command, res->feature, res->nsect,
                        res->lbal, res->lbam, res->lbah,
                        res->hob_feature, res->hob_nsect,