Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195878
b: refs/heads/master
c: 3510945
h: refs/heads/master
v: v3
  • Loading branch information
Roel Kluin authored and David Woodhouse committed Feb 26, 2010
1 parent d4a7ff2 commit 82a4d11
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 932f5d21ccd2705f1fb22e8a9e0da42013dcee17
refs/heads/master: 35109451f18280000ce5e7b76ac8d29eb222823b
7 changes: 4 additions & 3 deletions trunk/drivers/mtd/inftlmount.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,10 @@ static int find_boot_record(struct INFTLrecord *inftl)
}

/* To be safer with BIOS, also use erase mark as discriminant */
if ((ret = inftl_read_oob(mtd, block * inftl->EraseSize +
SECTORSIZE + 8, 8, &retlen,
(char *)&h1) < 0)) {
ret = inftl_read_oob(mtd,
block * inftl->EraseSize + SECTORSIZE + 8,
8, &retlen,(char *)&h1);
if (ret < 0) {
printk(KERN_WARNING "INFTL: ANAND header found at "
"0x%x in mtd%d, but OOB data read failed "
"(err %d)\n", block * inftl->EraseSize,
Expand Down

0 comments on commit 82a4d11

Please sign in to comment.