Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242772
b: refs/heads/master
c: 775adc3
h: refs/heads/master
v: v3
  • Loading branch information
Jason Liu authored and David Woodhouse committed Mar 11, 2011
1 parent 4093e18 commit a542022
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: c93ff6bf16523d33e991a1fadde1b8d63eb7cd2c
refs/heads/master: 775adc3d44c8076d3e475fabebb61c08421c4421
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/nand/nand_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2377,7 +2377,7 @@ static int nand_do_write_oob(struct mtd_info *mtd, loff_t to,
return -EINVAL;
}

/* Do not allow reads past end of device */
/* Do not allow write past end of device */
if (unlikely(to >= mtd->size ||
ops->ooboffs + ops->ooblen >
((mtd->size >> chip->page_shift) -
Expand Down

0 comments on commit a542022

Please sign in to comment.