Files
u-boot-krane/include
Alexander SteinandTom Rini 157186fbfc global_data: fix type for gd_malloc_ptr()
With commit 92aa3ec321 ("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=]

Fixes: 92aa3ec321 ("global_data: Reduce size of early-malloc vars")
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2026-06-23 12:36:26 -06:00
..
2026-06-05 12:56:32 -03:00
2026-06-21 09:43:33 +02:00