diff options
author | Tejun Heo <htejun@gmail.com> | 2006-04-02 18:51:52 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-04-02 10:09:19 -0400 |
commit | d63cb4a6365aa161341fc365df1edc87cd00c9c0 (patch) | |
tree | 6dbc938ac7f4f2d4ce3fcaadabadb8c2ff7fd01c /drivers/scsi | |
parent | 565083e1f14e7771aa6bac2d3d4aae0b08d48d78 (diff) |
[PATCH] libata: report device number when PIO fails
Report device number on PIO failure.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/libata-core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c index 00018705582..15d6c24c8e5 100644 --- a/drivers/scsi/libata-core.c +++ b/drivers/scsi/libata-core.c @@ -3909,7 +3909,8 @@ static void ata_pio_error(struct ata_port *ap) WARN_ON(qc == NULL); if (qc->tf.command != ATA_CMD_PACKET) - printk(KERN_WARNING "ata%u: PIO error\n", ap->id); + printk(KERN_WARNING "ata%u: dev %u PIO error\n", + ap->id, qc->dev->devno); /* make sure qc->err_mask is available to * know what's wrong and recover |