Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157256
b: refs/heads/master
c: 4149ed1
h: refs/heads/master
v: v3
  • Loading branch information
Dimitri Gorokhovik authored and David Woodhouse committed Sep 3, 2009
1 parent 868fc3a commit d6f2c44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: edcb3b14863e1a6aa1923eeaa81125a00cf51a80
refs/heads/master: 4149ed1aa944ab864024982a2e568d17eccff504
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/nftlcore.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ static int nftl_write(struct mtd_info *mtd, loff_t offs, size_t len,
int res;

ops.mode = MTD_OOB_PLACE;
ops.ooboffs = offs;
ops.ooboffs = offs & (mtd->writesize - 1);
ops.ooblen = mtd->oobsize;
ops.oobbuf = oob;
ops.datbuf = buf;
Expand Down

0 comments on commit d6f2c44

Please sign in to comment.