projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure that argv[] argument pointers are not modified.
[oweals/u-boot.git]
/
arch
/
sh
/
cpu
/
sh2
/
cpu.c
diff --git
a/arch/sh/cpu/sh2/cpu.c
b/arch/sh/cpu/sh2/cpu.c
index e0cb04752de807d4c84314e8674b08d0e1f42297..6bbedd9d48dbfeed1c420e90c6572655b3a83e28 100644
(file)
--- a/
arch/sh/cpu/sh2/cpu.c
+++ b/
arch/sh/cpu/sh2/cpu.c
@@
-59,7
+59,7
@@
int cleanup_before_linux(void)
return 0;
}
-int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char *
const
argv[])
{
disable_interrupts();
reset_cpu(0);