Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27799
b: refs/heads/master
c: fd0e518
h: refs/heads/master
i:
  27797: 8960db5
  27795: 869302a
  27791: 78cf99b
v: v3
  • Loading branch information
David Woodhouse committed May 17, 2006
1 parent 582afcf commit 9a01752
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: e8d32937d9f2022c31871ef357a4883f78da1b7f
refs/heads/master: fd0e5187458041c82fea616575104698397d68d3
4 changes: 2 additions & 2 deletions trunk/drivers/mtd/mtdconcat.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ concat_writev_ecc(struct mtd_info *mtd, const struct kvec *vecs,
return -EINVAL;

/* Check alignment */
if (mtd->writesize > 1)
if ((to % mtd->writesize) || (total_len % mtd->writesize))
if (mtd->oobblock > 1)
if ((to % mtd->oobblock) || (total_len % mtd->oobblock))
return -EINVAL;

/* make a copy of vecs */
Expand Down

0 comments on commit 9a01752

Please sign in to comment.