From: Leo Yu-Chi Liang <ycliang@andestech.com>
To: <u-boot@lists.denx.de>
Cc: <agust@denx.de>, <trini@konsulko.com>, <lekkit@at.encryp.ch>,
<pbrobinson@gmail.com>, <caleb.connolly@linaro.org>,
LekKit <50500857+LekKit@users.noreply.github.com>,
Leo Yu-Chi Liang <ycliang@andestech.com>
Subject: [PATCH v2 1/1] video: simplefb: Fix build warn with CONFIG_FDT_64BIT=n
Date: Wed, 9 Oct 2024 16:48:28 +0800 [thread overview]
Message-ID: <20241009084828.864091-1-ycliang@andestech.com> (raw)
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
next reply other threads:[~2024-10-09 8:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-09 8:48 Leo Yu-Chi Liang [this message]
2024-10-22 20:23 ` [PATCH v2 1/1] video: simplefb: Fix build warn with CONFIG_FDT_64BIT=n Anatolij Gustschin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241009084828.864091-1-ycliang@andestech.com \
--to=ycliang@andestech.com \
--cc=50500857+LekKit@users.noreply.github.com \
--cc=agust@denx.de \
--cc=caleb.connolly@linaro.org \
--cc=lekkit@at.encryp.ch \
--cc=pbrobinson@gmail.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.