projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ea7c767
)
Move comment
author
charles
<charles>
Tue, 20 Sep 2005 23:14:14 +0000
(23:14 +0000)
committer
charles
<charles>
Tue, 20 Sep 2005 23:14:14 +0000
(23:14 +0000)
yaffs_mtdif.c
patch
|
blob
|
history
diff --git
a/yaffs_mtdif.c
b/yaffs_mtdif.c
index 63f73f02029d27fcd8084e63d2c7f62d662a6d91..13cfdd9dfffb6ed0a5b3354a6bfaee15b3521010 100644
(file)
--- a/
yaffs_mtdif.c
+++ b/
yaffs_mtdif.c
@@
-14,7
+14,7
@@
*/
const char *yaffs_mtdif_c_version =
*/
const char *yaffs_mtdif_c_version =
- "$Id: yaffs_mtdif.c,v 1.1
1 2005-09-20 05:23:41
charles Exp $";
+ "$Id: yaffs_mtdif.c,v 1.1
2 2005-09-20 23:14:14
charles Exp $";
#include "yportenv.h"
#include "yportenv.h"
@@
-89,7
+89,8
@@
int nandmtd_ReadChunkFromNAND(yaffs_Device * dev, int chunkInNAND, __u8 * data,
__u8 *spareAsBytes = (__u8 *) spare;
if (data && spare) {
__u8 *spareAsBytes = (__u8 *) spare;
if (data && spare) {
- if (dev->useNANDECC) { /* Careful, this call adds 2 ints */
+ if (dev->useNANDECC) {
+ /* Careful, this call adds 2 ints */
/* to the end of the spare data. Calling function */
/* should allocate enough memory for spare, */
/* i.e. [YAFFS_BYTES_PER_SPARE+2*sizeof(int)]. */
/* to the end of the spare data. Calling function */
/* should allocate enough memory for spare, */
/* i.e. [YAFFS_BYTES_PER_SPARE+2*sizeof(int)]. */