mtd/drivers/mtd/nand nand_base.c,1.160,1.161
Artem Bityutskiy
dedekind at infradead.org
Fri Dec 9 05:58:33 EST 2005
Update of /home/cvs/mtd/drivers/mtd/nand
In directory phoenix.infradead.org:/tmp/cvs-serv7765
Modified Files:
nand_base.c
Log Message:
[MTD] NAND: Bugfix. fix variable initialization constant from '1i' which means
complex '0+1i' number to '1' which is the correct value.
This must be a typo, somebody just liles vim.
Index: nand_base.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nand/nand_base.c,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -r1.160 -r1.161
--- nand_base.c 5 Dec 2005 16:39:19 -0000 1.160
+++ nand_base.c 9 Dec 2005 10:58:29 -0000 1.161
@@ -1428,7 +1428,7 @@
static int nand_read_oob (struct mtd_info *mtd, loff_t from, size_t len, size_t * retlen, u_char * oob_buf)
{
- int i, j, col, realpage, page, end, ecc, chipnr, sndcmd = 1i, reallen = 0;
+ int i, j, col, realpage, page, end, ecc, chipnr, sndcmd = 1, reallen = 0;
int read = 0;
struct nand_chip *this = mtd->priv;
u_char *oob_data = oob_buf;
More information about the linux-mtd-cvs
mailing list