
22 Jul
2007
22 Jul
'07
6:19 a.m.
On 7/19/07, Conke Hu conke.hu@gmail.com wrote:
there are 2 bugs in the code of nand command "nand lock status" (function do_nand() in common/cmd_nand.c):
- "last_status" defined but never step forward.
- the last page never be printed
the following patch fixes them.
Signed-off-by: conke.hu@gmail.com
diff --git a/common/cmd_nand.c b/common/cmd_nand.c index cb62661..7e00c97 100644 --- a/common/cmd_nand.c +++ b/common/cmd_nand.c @@ -388,7 +388,7 @@ int do_nand(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) if (status) { ulong block_start = 0; ulong off;
int last_status = -1;
int last_status;
<snip>
I am sorry but, anybody could tell me how to submit a patch pls? I am looking forward to any kind reply about this patch, but it seems nobody pays attention to it :(
Conke