projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d92e74d
)
libata: Correct abuse of language
author
Alan Cox
<alan@lxorguk.ukuu.org.uk>
Thu, 7 Jun 2007 15:13:55 +0000
(16:13 +0100)
committer
Jeff 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/libata-core.c
b/drivers/ata/libata-core.c
index 85283c04d642f01905459506abc7eeba7b092164..4b3c45e91c76622f42569874345cfcee1bfc04d2 100644
(file)
--- 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 i
llegal
type";
+ reason = "device reports i
nvalid
type";
if (class == ATA_DEV_ATA) {
if (!ata_id_is_ata(id) && !ata_id_is_cfa(id))