projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
182bf92
)
fdt: Correct warning in fdt_setup_simplefb_node()
author
Simon Glass
<sjg@chromium.org>
Mon, 20 Apr 2015 18:37:16 +0000
(12:37 -0600)
committer
Simon Glass
<sjg@chromium.org>
Wed, 6 May 2015 02:58:19 +0000
(20:58 -0600)
Adjust the printf() string to avoid a warning on sandbox.
Signed-off-by: Simon Glass <sjg@chromium.org>
common/fdt_support.c
patch
|
blob
|
history
diff --git
a/common/fdt_support.c
b/common/fdt_support.c
index
c5ed5ad
..
9e50148
100644
(file)
--- a/
common/fdt_support.c
+++ b/
common/fdt_support.c
@@
-1533,7
+1533,7
@@
int fdt_setup_simplefb_node(void *fdt, int node, u64 base_address, u32 width,
if (ret < 0)
return ret;
- snprintf(name, sizeof(name), "framebuffer@%
llx"
, base_address);
+ snprintf(name, sizeof(name), "framebuffer@%
" PRIx64
, base_address);
ret = fdt_set_name(fdt, node, name);
if (ret < 0)
return ret;