mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH] booti: Use %pa to print a resource_size_t
Date: Wed,  4 Mar 2026 11:50:42 +0100	[thread overview]
Message-ID: <20260304105042.1206234-1-s.hauer@pengutronix.de> (raw)

printing a resource_size_t with %llx leads to warnings on 32bit arm. Use
%pa instead.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 common/booti.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/booti.c b/common/booti.c
index ba7e6081e6..9b97a6f815 100644
--- a/common/booti.c
+++ b/common/booti.c
@@ -59,8 +59,8 @@ void *booti_load_image(struct image_data *data, phys_addr_t *oftree)
 
 	kernel = get_kernel_address(data->os_address, text_offset, &end);
 
-	pr_debug("Kernel (size: %lx) to be loaded into %lx+%llx\n",
-		 image_size, kernel, end);
+	pr_debug("Kernel (size: %lx) to be loaded into %lx+%pa\n",
+		 image_size, kernel, &end);
 
 	if (kernel == UIMAGE_INVALID_ADDRESS)
 		return ERR_PTR(-ENOENT);
-- 
2.47.3




             reply	other threads:[~2026-03-04 10:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-04 10:50 Sascha Hauer [this message]
2026-03-05  6:39 ` Sascha Hauer

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=20260304105042.1206234-1-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox