From: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: Thu, 7 Jun 2007 15:13:55 +0000 (+0100)
Subject: libata: Correct abuse of language
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6070068b875f604ff3f62e6e342bbd4c1f34a895;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

libata: Correct abuse of language

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>
---

diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 85283c04d642..4b3c45e91c76 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -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))