projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
global: Convert simple_strtoul() with hex to hextoul()
[platform/kernel/u-boot.git]
/
cmd
/
jffs2.c
diff --git
a/cmd/jffs2.c
b/cmd/jffs2.c
index
9540988
..
63bd552
100644
(file)
--- a/
cmd/jffs2.c
+++ b/
cmd/jffs2.c
@@
-491,7
+491,7
@@
int do_jffs2_fsload(struct cmd_tbl *cmdtp, int flag, int argc,
filename = argv[1];
}
if (argc == 3) {
- offset =
simple_strtoul(argv[1], NULL, 16
);
+ offset =
hextoul(argv[1], NULL
);
image_load_addr = offset;
filename = argv[2];
}