Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106410
b: refs/heads/master
c: af3decc
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Hunter authored and David Woodhouse committed Jun 4, 2008
1 parent c384fbf commit c216574
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: 83973b87938a06a2af7e2a7fd1b630c35f8baff4
refs/heads/master: af3deccfa67341a9df39b6f734afcc85998ad4b7
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/nand/nandsim.c
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ static int init_nandsim(struct mtd_info *mtd)
}

if (ns->options & OPT_SMALLPAGE) {
if (ns->geom.totsz < (32 << 20)) {
if (ns->geom.totsz <= (32 << 20)) {
ns->geom.pgaddrbytes = 3;
ns->geom.secaddrbytes = 2;
} else {
Expand Down

0 comments on commit c216574

Please sign in to comment.