OSDN Git Service
(root)
/
uclinux-h8
/
linux.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
|
history
diff --git
a/drivers/ata/libata-core.c
b/drivers/ata/libata-core.c
index
85283c0
..
4b3c45e
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))