Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106411
b: refs/heads/master
c: 07293b2
h: refs/heads/master
i:
  106409: c384fbf
  106407: 16e25f5
v: v3
  • Loading branch information
Adrian Hunter authored and David Woodhouse committed Jun 4, 2008
1 parent c216574 commit 18148c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: af3deccfa67341a9df39b6f734afcc85998ad4b7
refs/heads/master: 07293b20083cb66df35bf2041f0c554eaac43e8c
1 change: 1 addition & 0 deletions trunk/drivers/mtd/nand/nandsim.c
Original file line number Diff line number Diff line change
Expand Up @@ -2022,6 +2022,7 @@ static int __init ns_init_module(void)
nsmtd->size = new_size;
chip->chipsize = new_size;
chip->chip_shift = ffs(new_size) - 1;
chip->pagemask = (chip->chipsize >> chip->page_shift) - 1;
}

if ((retval = setup_wear_reporting(nsmtd)) != 0)
Expand Down

0 comments on commit 18148c3

Please sign in to comment.