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]
/
board
/
gateworks
/
gw_ventana
/
gw_ventana.c
diff --git
a/board/gateworks/gw_ventana/gw_ventana.c
b/board/gateworks/gw_ventana/gw_ventana.c
index
468fb09
..
6a0382d
100644
(file)
--- a/
board/gateworks/gw_ventana/gw_ventana.c
+++ b/
board/gateworks/gw_ventana/gw_ventana.c
@@
-915,7
+915,7
@@
int fdt_fixup_sky2(void *blob, int np, struct pci_dev *dev)
if (tmp) {
for (j = 0; j < 6; j++) {
mac_addr[j] = tmp ?
-
simple_strtoul(tmp, &end,16
) : 0;
+
hextoul(tmp, &end
) : 0;
if (tmp)
tmp = (*end) ? end+1 : end;
}