]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
libata: Correct abuse of language
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Thu, 7 Jun 2007 15:13:55 +0000 (16:13 +0100)
committerJeff Garzik <jeff@garzik.org>
Sun, 10 Jun 2007 02:40:28 +0000 (22:40 -0400)
The controller is not reporting an unlawful type, it is reporting an
invalid type. Illegal specifically means "prohibited by law"

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c

index 85283c04d642f01905459506abc7eeba7b092164..4b3c45e91c76622f42569874345cfcee1bfc04d2 100644 (file)
@@ -1727,7 +1727,7 @@ int ata_dev_read_id(struct ata_device *dev, unsigned int *p_class,
 
        /* sanity check */
        rc = -EINVAL;
-       reason = "device reports illegal type";
+       reason = "device reports invalid type";
 
        if (class == ATA_DEV_ATA) {
                if (!ata_id_is_ata(id) && !ata_id_is_cfa(id))