The patch titled
     libata: -ENODEV during prereset isn't an error
has been removed from the -mm tree.  Its filename was
     libata-enodev-during-prereset-isnt-an-error.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: libata: -ENODEV during prereset isn't an error
From: Tejun Heo <[EMAIL PROTECTED]>

During prereset, -ENODEV return from ata_wait_ready() is not an error. 
This causes unnecessary bug message on controllers which uses 0xff to
indicate empty port.  Fix it.

Signed-off-by: Tejun Heo <[EMAIL PROTECTED]>
Cc: Paul Mundt <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/ata/libata-core.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/ata/libata-core.c~libata-enodev-during-prereset-isnt-an-error 
drivers/ata/libata-core.c
--- a/drivers/ata/libata-core.c~libata-enodev-during-prereset-isnt-an-error
+++ a/drivers/ata/libata-core.c
@@ -3460,7 +3460,7 @@ int ata_std_prereset(struct ata_port *ap
         */
        if (!(ap->flags & ATA_FLAG_SKIP_D2H_BSY) && !ata_port_offline(ap)) {
                rc = ata_wait_ready(ap, deadline);
-               if (rc) {
+               if (rc && rc != -ENODEV) {
                        ata_port_printk(ap, KERN_WARNING, "device not ready "
                                        "(errno=%d), forcing hardreset\n", rc);
                        ehc->i.action |= ATA_EH_HARDRESET;
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

pci-quirks-fix-msi-disabling-on-rs400-200-and-rs480.patch
fix-gregkh-driver-sysfs-fix-error-handling-in-binattr-write.patch
git-libata-all.patch
pata_acpi-restore-driver.patch
libata-implement-ata_wait_after_reset.patch
git-scsi-misc.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to