Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 153784
b: refs/heads/master
c: 260dc00
h: refs/heads/master
v: v3
  • Loading branch information
Vimal Singh authored and David Woodhouse committed Jun 5, 2009
1 parent 946a3ec commit ff6ed82
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: 6a4123e581b3112ff4ea7439ab9ae5cb271a9dbd
refs/heads/master: 260dc003e9fd41a6cac64308e63dea37ea5de13f
4 changes: 2 additions & 2 deletions trunk/drivers/mtd/nand/nand_ecc.c
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,8 @@ EXPORT_SYMBOL(nand_calculate_ecc);
int nand_correct_data(struct mtd_info *mtd, unsigned char *buf,
unsigned char *read_ecc, unsigned char *calc_ecc)
{
unsigned char b0, b1, b2;
unsigned char byte_addr, bit_addr;
unsigned char b0, b1, b2, bit_addr;
unsigned int byte_addr;
/* 256 or 512 bytes/ecc */
const uint32_t eccsize_mult =
(((struct nand_chip *)mtd->priv)->ecc.size) >> 8;
Expand Down

0 comments on commit ff6ed82

Please sign in to comment.