projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update Makefiles for new sed-based way case-insensitive handling
[yaffs2.git]
/
yaffs_tagscompat.c
diff --git
a/yaffs_tagscompat.c
b/yaffs_tagscompat.c
index fb5495fc535f6b147f602d49e8b09b625e3c63d0..9ac5896da37713d51875c8f9bd23b6d4e434fa88 100644
(file)
--- a/
yaffs_tagscompat.c
+++ b/
yaffs_tagscompat.c
@@
-24,8
+24,8
@@
static void yaffs_handle_rd_data_error(struct yaffs_dev *dev, int nand_chunk);
void yaffs_calc_ecc(const u8 *data, struct yaffs_spare *spare)
{
void yaffs_calc_ecc(const u8 *data, struct yaffs_spare *spare)
{
- yaffs_ecc_ca
cl
(data, spare->ecc1);
- yaffs_ecc_ca
cl
(&data[256], spare->ecc2);
+ yaffs_ecc_ca
lc
(data, spare->ecc1);
+ yaffs_ecc_ca
lc
(&data[256], spare->ecc2);
}
void yaffs_calc_tags_ecc(struct yaffs_tags *tags)
}
void yaffs_calc_tags_ecc(struct yaffs_tags *tags)
@@
-162,10
+162,10
@@
static int yaffs_rd_chunk_nand(struct yaffs_dev *dev,
int ecc_result1, ecc_result2;
u8 calc_ecc[3];
int ecc_result1, ecc_result2;
u8 calc_ecc[3];
- yaffs_ecc_ca
cl
(data, calc_ecc);
+ yaffs_ecc_ca
lc
(data, calc_ecc);
ecc_result1 =
yaffs_ecc_correct(data, spare->ecc1, calc_ecc);
ecc_result1 =
yaffs_ecc_correct(data, spare->ecc1, calc_ecc);
- yaffs_ecc_ca
cl
(&data[256], calc_ecc);
+ yaffs_ecc_ca
lc
(&data[256], calc_ecc);
ecc_result2 =
yaffs_ecc_correct(&data[256], spare->ecc2,
calc_ecc);
ecc_result2 =
yaffs_ecc_correct(&data[256], spare->ecc2,
calc_ecc);