Loading drivers/mtd/mtdconcat.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -276,8 +276,8 @@ concat_writev_ecc(struct mtd_info *mtd, const struct kvec *vecs, return -EINVAL; return -EINVAL; /* Check alignment */ /* Check alignment */ if (mtd->writesize > 1) if (mtd->oobblock > 1) if ((to % mtd->writesize) || (total_len % mtd->writesize)) if ((to % mtd->oobblock) || (total_len % mtd->oobblock)) return -EINVAL; return -EINVAL; /* make a copy of vecs */ /* make a copy of vecs */ Loading Loading
drivers/mtd/mtdconcat.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -276,8 +276,8 @@ concat_writev_ecc(struct mtd_info *mtd, const struct kvec *vecs, return -EINVAL; return -EINVAL; /* Check alignment */ /* Check alignment */ if (mtd->writesize > 1) if (mtd->oobblock > 1) if ((to % mtd->writesize) || (total_len % mtd->writesize)) if ((to % mtd->oobblock) || (total_len % mtd->oobblock)) return -EINVAL; return -EINVAL; /* make a copy of vecs */ /* make a copy of vecs */ Loading