Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27929
b: refs/heads/master
c: 7e4178f
h: refs/heads/master
i:
  27927: a4c79c3
v: v3
  • Loading branch information
Vitaly Wool authored and David Woodhouse committed Jun 20, 2006
1 parent afcb7af commit cd97241
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b6d5ee00e397b20dc88f7ffaa6f7651b71996a5c
refs/heads/master: 7e4178f90eec862affc97469118d5008bd1b5bda
4 changes: 2 additions & 2 deletions trunk/drivers/mtd/nand/nand_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ static int nand_read_page_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
}

/* Calculate remaining oob bytes */
i = oob - chip->oob_poi;
i = mtd->oobsize - (oob - chip->oob_poi);
if (i)
chip->read_buf(mtd, oob, i);

Expand Down Expand Up @@ -1334,7 +1334,7 @@ static void nand_write_page_syndrome(struct mtd_info *mtd,
}

/* Calculate remaining oob bytes */
i = oob - chip->oob_poi;
i = mtd->oobsize - (oob - chip->oob_poi);
if (i)
chip->write_buf(mtd, oob, i);
}
Expand Down

0 comments on commit cd97241

Please sign in to comment.