git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7aa6906
)
video: simplefb: Fix build warn with CONFIG_FDT_64BIT=n
author
Eva Kurchatova
<lekkit@at.encryp.ch>
Wed, 9 Oct 2024 08:48:28 +0000
(16:48 +0800)
committer
Anatolij Gustschin
<agust@denx.de>
Tue, 22 Oct 2024 18:56:28 +0000
(20:56 +0200)
Fix compile warning with !CONFIG_FDT_64BIT by
casting the variable in the debug print.
Signed-off-by: Eva Kurchatova <lekkit@at.encryp.ch>
Reported-by: Leo Yu-Chi Liang <ycliang@andestech.com>
drivers/video/simplefb.c
patch
|
blob
|
history
diff --git
a/drivers/video/simplefb.c
b/drivers/video/simplefb.c
index
cb518b1
..
239b006
100644
(file)
--- a/
drivers/video/simplefb.c
+++ b/
drivers/video/simplefb.c
@@
-27,7
+27,8
@@
static int simple_video_probe(struct udevice *dev)
return -EINVAL;
}
- debug("%s: base=%llx, size=%llu\n", __func__, base, size);
+ debug("%s: base=%llx, size=%llu\n",
+ __func__, (unsigned long long)base, (unsigned long long)size);
/*
* TODO is there some way to reserve the framebuffer