Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33941
b: refs/heads/master
c: 96da960
h: refs/heads/master
i:
  33939: 703eb92
v: v3
  • Loading branch information
Vitaly Wool authored and Linus Torvalds committed Sep 16, 2006
1 parent 1d5d350 commit 9518a91
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: 20acaa18d0c002fec180956f87adeb3f11f635a6
refs/heads/master: 96da96065bd66164acc3c8a1ea6db4ee765537e9
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 @@ -1204,7 +1204,7 @@ static int nand_write_oob_syndrome(struct mtd_info *mtd,
pos = steps * (eccsize + chunk);
steps = 0;
} else
pos = eccsize + chunk;
pos = eccsize;

chip->cmdfunc(mtd, NAND_CMD_SEQIN, pos, page);
for (i = 0; i < steps; i++) {
Expand Down Expand Up @@ -1567,7 +1567,7 @@ static uint8_t *nand_fill_oob(struct nand_chip *chip, uint8_t *oob,
bytes = min_t(size_t, len, free->length);
boffs = free->offset;
}
memcpy(chip->oob_poi + woffs, oob, bytes);
memcpy(chip->oob_poi + boffs, oob, bytes);
oob += bytes;
}
return oob;
Expand Down

0 comments on commit 9518a91

Please sign in to comment.