projects
/
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:
2b2f43e
)
cmd_nand : fix compiler warning.
author
Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com>
Sun, 13 Jan 2008 11:36:12 +0000
(12:36 +0100)
committer
Wolfgang Denk
<wd@denx.de>
Sun, 13 Jan 2008 14:57:48 +0000
(15:57 +0100)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
common/cmd_nand.c
patch
|
blob
|
history
diff --git
a/common/cmd_nand.c
b/common/cmd_nand.c
index
b248a2c
..
8d6c959
100644
(file)
--- a/
common/cmd_nand.c
+++ b/
common/cmd_nand.c
@@
-350,10
+350,10
@@
int do_nand(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
} else if (s != NULL && !strcmp(s, ".oob")) {
/* read out-of-band data */
if (read)
- ret = nand->read_oob(nand, off, size, &size,
+ ret = nand->read_oob(nand, off, size,
(size_t *)
&size,
(u_char *) addr);
else
- ret = nand->write_oob(nand, off, size, &size,
+ ret = nand->write_oob(nand, off, size,
(size_t *)
&size,
(u_char *) addr);
} else {
if (read)