On Fri, 05 Jun 2026 15:44:46 +0200, Alexander Stein wrote:
> With commit 92aa3ec321b5 ("global_data: Reduce size of early-malloc vars")
> the type changes from (unsigned) long to int. But the type for default
> if SYS_MALLOC_F_LEN is unset was not changed. Remove the suffix.
> Fixes the warning:
> common/spl/spl.c:800:23: warning: format '%x' expects argument of type
> 'unsigned int', but argument 2 has type 'long int' [-Wformat=]
>
> [...]
Applied to u-boot/next, thanks!
[1/1] global_data: fix type for gd_malloc_ptr()
commit: 157186fbfc24c54117b41e292a35809a0560b9c0
--
Tom