* [PATCH v2 1/1] video: simplefb: Fix build warn with CONFIG_FDT_64BIT=n
@ 2024-10-09 8:48 Leo Yu-Chi Liang
2024-10-22 20:23 ` Anatolij Gustschin
0 siblings, 1 reply; 2+ messages in thread
From: Leo Yu-Chi Liang @ 2024-10-09 8:48 UTC (permalink / raw)
To: u-boot
Cc: agust, trini, lekkit, pbrobinson, caleb.connolly, LekKit,
Leo Yu-Chi Liang
From: LekKit <50500857+LekKit@users.noreply.github.com>
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/simplefb.c b/drivers/video/simplefb.c
index cb518b149c..55996c8560 100644
--- a/drivers/video/simplefb.c
+++ b/drivers/video/simplefb.c
@@ -27,7 +27,7 @@ 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
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2 1/1] video: simplefb: Fix build warn with CONFIG_FDT_64BIT=n
2024-10-09 8:48 [PATCH v2 1/1] video: simplefb: Fix build warn with CONFIG_FDT_64BIT=n Leo Yu-Chi Liang
@ 2024-10-22 20:23 ` Anatolij Gustschin
0 siblings, 0 replies; 2+ messages in thread
From: Anatolij Gustschin @ 2024-10-22 20:23 UTC (permalink / raw)
To: Leo Yu-Chi Liang; +Cc: u-boot, trini, lekkit, pbrobinson, caleb.connolly
On Wed, 9 Oct 2024 16:48:28 +0800
Leo Yu-Chi Liang ycliang@andestech.com wrote:
> From: LekKit <50500857+LekKit@users.noreply.github.com>
>
> 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 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
applied to u-boot-video/master, thanks!
--
Anatolij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-22 20:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-09 8:48 [PATCH v2 1/1] video: simplefb: Fix build warn with CONFIG_FDT_64BIT=n Leo Yu-Chi Liang
2024-10-22 20:23 ` Anatolij Gustschin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox