Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332763
b: refs/heads/master
c: bb0a13a
h: refs/heads/master
i:
  332761: 8d907eb
  332759: c5ded1c
v: v3
  • Loading branch information
Richard Genoud authored and David Woodhouse committed Sep 29, 2012
1 parent b122d5f commit 6c2c15a
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: 5bf3d66a933efb71fa6db08a5043a617b6eadb4a
refs/heads/master: bb0a13a13411c4ce24c48c8ff3cdf7b48d237240
1 change: 1 addition & 0 deletions trunk/drivers/mtd/nand/nandsim.c
Original file line number Diff line number Diff line change
Expand Up @@ -2317,6 +2317,7 @@ static int __init ns_init_module(void)
uint64_t new_size = (uint64_t)nsmtd->erasesize << overridesize;
if (new_size >> overridesize != nsmtd->erasesize) {
NS_ERR("overridesize is too big\n");
retval = -EINVAL;
goto err_exit;
}
/* N.B. This relies on nand_scan not doing anything with the size before we change it */
Expand Down

0 comments on commit 6c2c15a

Please sign in to comment.