projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs: More clean up
[yaffs2.git]
/
yaffs_mtdif1_single.c
diff --git
a/yaffs_mtdif1_single.c
b/yaffs_mtdif1_single.c
index 55b367b35911a626bd26667c291e1095876872b0..02281fdb3d568fe71e18fdf11ca52e401b1d50a8 100644
(file)
--- a/
yaffs_mtdif1_single.c
+++ b/
yaffs_mtdif1_single.c
@@
-71,11
+71,11
@@
int nandmtd1_write_chunk_tags(struct yaffs_dev *dev,
int chunk_bytes = dev->data_bytes_per_chunk;
loff_t addr = ((loff_t)nand_chunk) * chunk_bytes;
struct mtd_oob_ops ops;
int chunk_bytes = dev->data_bytes_per_chunk;
loff_t addr = ((loff_t)nand_chunk) * chunk_bytes;
struct mtd_oob_ops ops;
- yaffs_packed_tags1 pt1;
+
struct
yaffs_packed_tags1 pt1;
int retval;
/* we assume that packed_tags1 and struct yaffs_tags are compatible */
int retval;
/* we assume that packed_tags1 and struct yaffs_tags are compatible */
- compile_time_assertion(sizeof(yaffs_packed_tags1) == 12);
+ compile_time_assertion(sizeof(
struct
yaffs_packed_tags1) == 12);
compile_time_assertion(sizeof(struct yaffs_tags) == 8);
yaffs_pack_tags1(&pt1, etags);
compile_time_assertion(sizeof(struct yaffs_tags) == 8);
yaffs_pack_tags1(&pt1, etags);
@@
-150,7
+150,7
@@
int nandmtd1_read_chunk_tags(struct yaffs_dev *dev,
loff_t addr = ((loff_t)nand_chunk) * chunk_bytes;
int eccres = YAFFS_ECC_RESULT_NO_ERROR;
struct mtd_oob_ops ops;
loff_t addr = ((loff_t)nand_chunk) * chunk_bytes;
int eccres = YAFFS_ECC_RESULT_NO_ERROR;
struct mtd_oob_ops ops;
- yaffs_packed_tags1 pt1;
+
struct
yaffs_packed_tags1 pt1;
int retval;
int deleted;
int retval;
int deleted;