Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27886
b: refs/heads/master
c: f5bbdac
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner authored and David Woodhouse committed May 25, 2006
1 parent b517821 commit fc3336f
Show file tree
Hide file tree
Showing 5 changed files with 276 additions and 256 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: 9577f44a899cf4acb9e381c8946307b72153cd15
refs/heads/master: f5bbdacc41939f89d8ccb18dd79cd9b21c0cb75d
4 changes: 3 additions & 1 deletion trunk/drivers/mtd/nand/diskonchip.c
Original file line number Diff line number Diff line change
Expand Up @@ -968,12 +968,14 @@ static int doc200x_calculate_ecc(struct mtd_info *mtd, const u_char *dat, unsign
return 0;
}

static int doc200x_correct_data(struct mtd_info *mtd, u_char *dat, u_char *read_ecc, u_char *calc_ecc)
static int doc200x_correct_data(struct mtd_info *mtd, u_char *dat,
u_char *read_ecc, u_char *isnull)
{
int i, ret = 0;
struct nand_chip *this = mtd->priv;
struct doc_priv *doc = this->priv;
void __iomem *docptr = doc->virtadr;
uint8_t calc_ecc[6];
volatile u_char dummy;
int emptymatch = 1;

Expand Down
Loading

0 comments on commit fc3336f

Please sign in to comment.