Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252489
b: refs/heads/master
c: eff3bba
h: refs/heads/master
i:
  252487: cc53f95
v: v3
  • Loading branch information
john.maxin@nokia.com authored and David Woodhouse committed May 25, 2011
1 parent 9c50ad0 commit 415bb4a
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: 26d9be11485ea8c1102c3e8eaa7667412eef4950
refs/heads/master: eff3bba61fc19a64a1ca56343e38b6506bef9dea
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/onenand/onenand_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2453,7 +2453,7 @@ static int onenand_block_by_block_erase(struct mtd_info *mtd,
len -= block_size;
addr += block_size;

if (addr == region_end) {
if (region && addr == region_end) {
if (!len)
break;
region++;
Expand Down

0 comments on commit 415bb4a

Please sign in to comment.