Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 49150
b: refs/heads/master
c: d24030f
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and David Woodhouse committed Feb 9, 2007
1 parent a8894a8 commit df50f9e
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: 0373615579c7359dfd0bc66139c2e7bf67793480
refs/heads/master: d24030f0f71390b1a01796d664445352bd403269
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/nand/cafe_ecc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ static unsigned short err_pos_lut[4096] = {

static unsigned short err_pos(unsigned short din)
{
BUG_ON(din > 4096);
BUG_ON(din >= ARRAY_SIZE(err_pos_lut));
return err_pos_lut[din];
}
static int chk_no_err_only(unsigned short *chk_syndrome_list, unsigned short *err_info)
Expand Down

0 comments on commit df50f9e

Please sign in to comment.