projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup patch - Remove all trailing whitespace and fix a few typos.
[yaffs2.git]
/
yaffs_mtdif2.c
diff --git
a/yaffs_mtdif2.c
b/yaffs_mtdif2.c
index 47d74d33439714839500a37ddead8edb4ff1cee0..125ed40f31e0ea9ce930de9753ef5fd0066927a8 100644
(file)
--- a/
yaffs_mtdif2.c
+++ b/
yaffs_mtdif2.c
@@
-14,7
+14,7
@@
/* mtd interface for YAFFS2 */
const char *yaffs_mtdif2_c_version =
/* mtd interface for YAFFS2 */
const char *yaffs_mtdif2_c_version =
- "$Id: yaffs_mtdif2.c,v 1.1
8 2007-12-12 18:08:15 colin
Exp $";
+ "$Id: yaffs_mtdif2.c,v 1.1
9 2007-12-13 15:35:18 wookey
Exp $";
#include "yportenv.h"
#include "yportenv.h"
@@
-158,7
+158,7
@@
int nandmtd2_ReadChunkWithTagsFromNAND(yaffs_Device * dev, int chunkInNAND,
if (tags)
yaffs_UnpackTags2(tags, &pt);
if (tags)
yaffs_UnpackTags2(tags, &pt);
-
+
if(tags && retval == -EBADMSG && tags->eccResult == YAFFS_ECC_RESULT_NO_ERROR)
tags->eccResult = YAFFS_ECC_RESULT_UNFIXED;
if(tags && retval == -EBADMSG && tags->eccResult == YAFFS_ECC_RESULT_NO_ERROR)
tags->eccResult = YAFFS_ECC_RESULT_UNFIXED;