summaryrefslogtreecommitdiff
path: root/yaffs_mtdif.c
diff options
context:
space:
mode:
authorcharles <charles>2005-09-20 23:14:14 +0000
committercharles <charles>2005-09-20 23:14:14 +0000
commit730a00c0527f2c63413598925b600af86b76db86 (patch)
tree429023123d65f722c491ac7f3906ef7a4aafe18d /yaffs_mtdif.c
parentea7c7678c50a48bcb278e1233569f6a921dea0b5 (diff)
Move comment
Diffstat (limited to 'yaffs_mtdif.c')
-rw-r--r--yaffs_mtdif.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/yaffs_mtdif.c b/yaffs_mtdif.c
index 63f73f0..13cfdd9 100644
--- a/yaffs_mtdif.c
+++ b/yaffs_mtdif.c
@@ -14,7 +14,7 @@
*/
const char *yaffs_mtdif_c_version =
- "$Id: yaffs_mtdif.c,v 1.11 2005-09-20 05:23:41 charles Exp $";
+ "$Id: yaffs_mtdif.c,v 1.12 2005-09-20 23:14:14 charles Exp $";
#include "yportenv.h"
@@ -89,7 +89,8 @@ int nandmtd_ReadChunkFromNAND(yaffs_Device * dev, int chunkInNAND, __u8 * data,
__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)]. */