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]
/
common
/
kallsyms.c
diff --git
a/common/kallsyms.c
b/common/kallsyms.c
index
ce42a93
..
13344e6
100644
(file)
--- a/
common/kallsyms.c
+++ b/
common/kallsyms.c
@@
-31,7
+31,7
@@
const char *symbol_lookup(unsigned long addr, unsigned long *caddr)
*caddr = 0;
while (*sym) {
*caddr = 0;
while (*sym) {
- sym_addr =
simple_strtoul(sym, &esym, 16
);
+ sym_addr =
hextoul(sym, &esym
);
sym = esym;
if (sym_addr > addr)
break;
sym = esym;
if (sym_addr > addr)
break;