Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195863
b: refs/heads/master
c: 0040476
h: refs/heads/master
i:
  195861: 6347297
  195859: 3376db9
  195855: a9a08c5
v: v3
  • Loading branch information
Roel Kluin authored and David Woodhouse committed Feb 25, 2010
1 parent 17ee0a2 commit a91f612
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: 4335c1003ed05d5d5a386cd8008fc06a6d424ca2
refs/heads/master: 0040476b0efa99ad0d4ffb81d8e882095420d288
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/mtdchar.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ static int mtd_do_writeoob(struct file *file, struct mtd_info *mtd,
if (!mtd->write_oob)
ret = -EOPNOTSUPP;
else
ret = access_ok(VERIFY_READ, ptr, length) ? 0 : EFAULT;
ret = access_ok(VERIFY_READ, ptr, length) ? 0 : -EFAULT;

if (ret)
return ret;
Expand Down

0 comments on commit a91f612

Please sign in to comment.