projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8d3293
)
[MTD] Fix mtdconcat build. We didn't introduce mtd->writesize yet.
author
David Woodhouse
<dwmw2@infradead.org>
Wed, 17 May 2006 20:53:58 +0000
(21:53 +0100)
committer
David Woodhouse
<dwmw2@infradead.org>
Wed, 17 May 2006 20:53:58 +0000
(21:53 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/mtdconcat.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/mtdconcat.c
b/drivers/mtd/mtdconcat.c
index da4c9c190bb3e4abc1b2e3d8d46ad553da5de145..b7de90845c2d6a18c94d22b1efa5627da7089ed8 100644
(file)
--- a/
drivers/mtd/mtdconcat.c
+++ b/
drivers/mtd/mtdconcat.c
@@
-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 */