projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs Added a new test for yaffs functions via linux command calls.
[yaffs2.git]
/
yaffs_mtdif1_multi.c
diff --git
a/yaffs_mtdif1_multi.c
b/yaffs_mtdif1_multi.c
index 603dc97a9f25670682b9d115a94404fa09aaf21c..cf9c54cce23a98aa92a3b130edd21e9b9a6451a1 100644
(file)
--- a/
yaffs_mtdif1_multi.c
+++ b/
yaffs_mtdif1_multi.c
@@
-238,7
+238,7
@@
int nandmtd1_read_chunk_tags(struct yaffs_dev *dev,
deleted = !pt1.deleted;
pt1.deleted = 1;
#else
deleted = !pt1.deleted;
pt1.deleted = 1;
#else
- deleted = (
yaffs_count_bits
(((u8 *) & pt1)[8]) < 7);
+ deleted = (
hweight8
(((u8 *) & pt1)[8]) < 7);
#endif
/* Check the packed tags mini-ECC and correct if necessary/possible.
#endif
/* Check the packed tags mini-ECC and correct if necessary/possible.