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:
ccd7bc2
)
[libata] ata_timing fix
author
Alan Cox
<alan@lxorguk.ukuu.org.uk>
Wed, 26 Oct 2005 16:17:46 +0000
(12:17 -0400)
committer
Jeff Garzik
<jgarzik@pobox.com>
Wed, 26 Oct 2005 16:17:46 +0000
(12:17 -0400)
drivers/scsi/libata-core.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/libata-core.c
b/drivers/scsi/libata-core.c
index
dcd3b55
..
f53d7b8
100644
(file)
--- a/
drivers/scsi/libata-core.c
+++ b/
drivers/scsi/libata-core.c
@@
-1616,7
+1616,7
@@
static const struct ata_timing* ata_timing_find_mode(unsigned short speed)
const struct ata_timing *t;
for (t = ata_timing; t->mode != speed; t++)
- if (t->mode
!
= 0xFF)
+ if (t->mode
=
= 0xFF)
return NULL;
return t;
}