mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/3] efi: loader: fix format string for ARM32
@ 2026-06-11 21:14 Ahmad Fatoum
  2026-06-11 21:14 ` [PATCH 2/3] ARM: stm32mp: lxa: change stdout-path baud rate from 9600 to 115200 Ahmad Fatoum
  2026-06-11 21:14 ` [PATCH 3/3] ARM: stm32mp: enable useful options for the LXA Fairy Tux2 Ahmad Fatoum
  0 siblings, 2 replies; 5+ messages in thread
From: Ahmad Fatoum @ 2026-06-11 21:14 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

size_t is an unsigned long on our ARM64, but an unsigned int on ARM32,
which causes a GCC warning when compiling this printf format string.

Switch to the appropriate %zx format specifier to fix this.

Signed-off-by: Ahmad Fatoum <a.fatoum@barebox.org>
---
 efi/loader/boot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/efi/loader/boot.c b/efi/loader/boot.c
index adeb2ff337b3..adcfd96b4648 100644
--- a/efi/loader/boot.c
+++ b/efi/loader/boot.c
@@ -370,7 +370,7 @@ static efi_status_t EFIAPI efi_get_memory_map_ext(
 	r = efi_get_memory_map(memory_map_size, memory_map, map_key,
 			       descriptor_size, descriptor_version);
 
-	__EFI_PRINT("%sEFI: Exit: %s(%zu@%p, %p, 0x%lx@%p, %zu@%p, %u@%p): %u\n",
+	__EFI_PRINT("%sEFI: Exit: %s(%zu@%p, %p, 0x%zx@%p, %zu@%p, %u@%p): %u\n",
 		    __efi_nesting_dec(), __func__,
 		    *memory_map_size, memory_map_size, memory_map,
 		    *map_key, map_key, *descriptor_size, descriptor_size,
-- 
2.47.3




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-06-15  8:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-11 21:14 [PATCH 1/3] efi: loader: fix format string for ARM32 Ahmad Fatoum
2026-06-11 21:14 ` [PATCH 2/3] ARM: stm32mp: lxa: change stdout-path baud rate from 9600 to 115200 Ahmad Fatoum
2026-06-15  8:16   ` (subset) " Sascha Hauer
2026-06-11 21:14 ` [PATCH 3/3] ARM: stm32mp: enable useful options for the LXA Fairy Tux2 Ahmad Fatoum
2026-06-11 21:21   ` [PATCH] fixup! " Ahmad Fatoum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox