projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd5748b
)
jffs2_1pass.c: fix incompatible pointer type warning
author
Wolfgang Denk
<wd@denx.de>
Mon, 28 Apr 2008 20:01:04 +0000
(22:01 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Mon, 28 Apr 2008 20:01:04 +0000
(22:01 +0200)
Signed-off-by: Wolfgang Denk <wd@denx.de>
fs/jffs2/jffs2_1pass.c
patch
|
blob
|
history
diff --git
a/fs/jffs2/jffs2_1pass.c
b/fs/jffs2/jffs2_1pass.c
index 69f53eabcf0e39d1573009b984523d0c8e961b6b..a3304384f202dad201f50be7cde7d2c76c2f45e1 100644
(file)
--- a/
fs/jffs2/jffs2_1pass.c
+++ b/
fs/jffs2/jffs2_1pass.c
@@
-185,11
+185,7
@@
static int read_nand_cached(u32 off, u32 size, u_char *buf)
{
struct mtdids *id = current_part->dev->id;
u32 bytes_read = 0;
-#if defined(CFG_NAND_LEGACY)
size_t retlen;
-#else
- ulong retlen;
-#endif
int cpy_bytes;
while (bytes_read < size) {