Merge branch 'master'
authorJeff Garzik <jgarzik@pobox.com>
Mon, 20 Feb 2006 07:16:23 +0000 (02:16 -0500)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 20 Feb 2006 07:16:23 +0000 (02:16 -0500)
1  2 
drivers/scsi/libata-core.c
drivers/scsi/sata_mv.c
drivers/scsi/sata_vsc.c

index 61cba39a683446d66e968853f217eab6d6015860,7ddd5a69352a847f4d957e65a06dd95830baa199..adc5b440c9bc0bb406ca825a60421f22574ff87a
@@@ -3426,11 -3357,12 +3426,12 @@@ static void ata_pio_error(struct ata_po
  {
        struct ata_queued_cmd *qc;
  
-       printk(KERN_WARNING "ata%u: PIO error\n", ap->id);
        qc = ata_qc_from_tag(ap, ap->active_tag);
 -      assert(qc != NULL);
 +      WARN_ON(qc == NULL);
  
+       if (qc->tf.command != ATA_CMD_PACKET)
+               printk(KERN_WARNING "ata%u: PIO error\n", ap->id);
        /* make sure qc->err_mask is available to 
         * know what's wrong and recover
         */
Simple merge
Simple merge