projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a couple of mistakes in TRACE/Error messages. Update copyright date.
[yaffs2.git]
/
yaffs_mtdif2.c
diff --git
a/yaffs_mtdif2.c
b/yaffs_mtdif2.c
index 83194814d0b5f06f64d3d06f9f49563f1a792000..d3a6552aea3b95b14e22a93caec6977dcc89f572 100644
(file)
--- a/
yaffs_mtdif2.c
+++ b/
yaffs_mtdif2.c
@@
-16,7
+16,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.
9 2005-12-07 21:49:18 charles
Exp $";
+ "$Id: yaffs_mtdif2.c,v 1.
11 2006-04-25 00:41:43 wookey
Exp $";
#include "yportenv.h"
#include "yportenv.h"
@@
-90,11
+90,10
@@
int nandmtd2_ReadChunkWithTagsFromNAND(yaffs_Device * dev, int chunkInNAND,
T(YAFFS_TRACE_MTD,
(TSTR
T(YAFFS_TRACE_MTD,
(TSTR
- ("nandmtd2_ReadChunkWithTags
To
NAND chunk %d data %p tags %p"
+ ("nandmtd2_ReadChunkWithTags
From
NAND chunk %d data %p tags %p"
TENDSTR), chunkInNAND, data, tags));
TENDSTR), chunkInNAND, data, tags));
- if (1 || /* Always do this */
- data && tags) {
+ if (data && tags) {
if (dev->useNANDECC) {
retval =
mtd->read_ecc(mtd, addr, dev->nBytesPerChunk,
if (dev->useNANDECC) {
retval =
mtd->read_ecc(mtd, addr, dev->nBytesPerChunk,