mtd/drivers/mtd/chips cfi_cmdset_0001.c,1.152,1.153
David Woodhouse
dwmw2 at infradead.org
Mon Jul 12 17:52:22 EDT 2004
Update of /home/cvs/mtd/drivers/mtd/chips
In directory phoenix.infradead.org:/tmp/cvs-serv26488
Modified Files:
cfi_cmdset_0001.c
Log Message:
Fix loop typo
Index: cfi_cmdset_0001.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_cmdset_0001.c,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -r1.152 -r1.153
--- cfi_cmdset_0001.c 12 Jul 2004 13:36:19 -0000 1.152
+++ cfi_cmdset_0001.c 12 Jul 2004 21:52:20 -0000 1.153
@@ -1501,7 +1501,7 @@
unsigned char chipstatus = status.x[0];
if (!map_word_equal(map, status, CMD(chipstatus))) {
int i, w;
- for (w=0; i<map_words(map); w++) {
+ for (w=0; w<map_words(map); w++) {
for (i = 0; i<cfi_interleave(cfi); i++) {
chipstatus |= status.x[w] >> (cfi->device_type * 8);
}
More information about the linux-mtd-cvs
mailing list