projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
565083e
)
[PATCH] libata: report device number when PIO fails
author
Tejun Heo
<htejun@gmail.com>
Sun, 2 Apr 2006 09:51:52 +0000
(18:51 +0900)
committer
Jeff Garzik
<jeff@garzik.org>
Sun, 2 Apr 2006 14:09:19 +0000
(10:09 -0400)
Report device number on PIO failure.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/libata-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/libata-core.c
b/drivers/scsi/libata-core.c
index 00018705582bb3231474408b3a619fbc41d46c68..15d6c24c8e54831e34c4b79f2b3b689fd2d8574f 100644
(file)
--- 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