mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-06 09:21:26 +01:00
fdt: Correct warning in fdt_setup_simplefb_node()
Adjust the printf() string to avoid a warning on sandbox. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
182bf92d19
commit
c3ec646dde
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue