summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEva Kurchatova <[email protected]>2024-10-09 16:48:28 +0800
committerAnatolij Gustschin <[email protected]>2024-10-22 20:56:28 +0200
commit722073a0653dd18d0148dd435f067be4e82f9129 (patch)
tree14cbc33a7c2d0d57f72e537dc66a23bd694102de
parent7aa6906dda0d0936c91f14684df7c011b31b6435 (diff)
video: simplefb: Fix build warn with CONFIG_FDT_64BIT=n
Fix compile warning with !CONFIG_FDT_64BIT by casting the variable in the debug print. Signed-off-by: Eva Kurchatova <[email protected]> Reported-by: Leo Yu-Chi Liang <[email protected]>
-rw-r--r--drivers/video/simplefb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/simplefb.c b/drivers/video/simplefb.c
index cb518b149cb..239b006744d 100644
--- 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