mtd/drivers/mtd/nand nand.c,1.64,1.65

gleixner at infradead.org gleixner at infradead.org
Sun Mar 28 14:08:37 EST 2004


Update of /home/cvs/mtd/drivers/mtd/nand
In directory phoenix.infradead.org:/tmp/cvs-serv4785

Modified Files:
	nand.c 
Log Message:
fix nand_verify_buf for failures on byte 0

Index: nand.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nand/nand.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- nand.c	17 Mar 2004 22:50:41 -0000	1.64
+++ nand.c	28 Mar 2004 19:08:34 -0000	1.65
@@ -235,7 +235,7 @@
 
 	for (i=0; i<len; i++)
 		if (buf[i] != readb(this->IO_ADDR_R))
-			return i;
+			return -EFAULT;
 
 	return 0;
 }




More information about the linux-mtd-cvs mailing list