mtd/drivers/mtd/nand nand.c,1.28,1.29

gleixner at infradead.org gleixner at infradead.org
Sat Aug 17 03:52:52 EDT 2002


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

Modified Files:
	nand.c 
Log Message:
signed / unsigned missmatch in write.c

Index: nand.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nand/nand.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- nand.c	10 Aug 2002 23:07:01 -0000	1.28
+++ nand.c	17 Aug 2002 07:52:49 -0000	1.29
@@ -77,6 +77,9 @@
  *		forcing all hw-drivers to support page cache
  *		eccvalid_pos is now mandatory
  *
+ *  08-17-2002	tglx: fixed signed/unsigned missmatch in write.c
+ *		Thanks to Ken Offer <koffer at arlut.utexas.edu> 	
+ *
  * $Id$
  *
  * This program is free software; you can redistribute it and/or modify
@@ -307,7 +310,7 @@
 {
 
 	int 	i, status;
-	char	ecc_code[6];
+	u_char	ecc_code[6];
 
 	/* pad oob area */
 	for (i = mtd->oobblock; i < mtd->oobblock + mtd->oobsize; i++)





More information about the linux-mtd-cvs mailing list