mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
[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>
This commit is contained in:
parent
565083e1f1
commit
d63cb4a636
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue